From 83d70179408f6569d1204595c29d7368e1055277 Mon Sep 17 00:00:00 2001 From: Qingxu Date: Fri, 29 Jan 2021 02:47:30 +0800 Subject: [PATCH] init --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 23 +++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..706c32bacda --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = yesplaymusic + pkgdesc = High-value third-party NetEase cloud player + pkgver = 0.3.1 + pkgrel = 1 + url = https://github.com/qier222/YesPlayMusic/ + arch = x86_64 + license = custom + depends = nss + depends = gtk3 + source = https://github.com/qier222/YesPlayMusic/releases/download/0.3.1/YesPlayMusic_0.3.1_amd64.deb + md5sums = 3761bcb8c5156e9ab2c856c99e9562b6 + +pkgname = yesplaymusic + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..2c9b827b7cb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Qingxu +pkgname=yesplaymusic +pkgver=0.3.1 +pkgrel=1 +pkgdesc="High-value third-party NetEase cloud player" +arch=("x86_64") +url="https://github.com/qier222/YesPlayMusic/" +license=('custom') +depends=( + 'nss' + 'gtk3' +) +source=( + "https://github.com/qier222/YesPlayMusic/releases/download/${pkgver}/YesPlayMusic_${pkgver}_amd64.deb" +) +md5sums=('3761bcb8c5156e9ab2c856c99e9562b6') + +DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u") + +package() { + cd ${srcdir} + tar -xvf data.tar.xz -C ${pkgdir} +}