diff options
author | Dct Mei | 2019-04-04 15:46:11 +0800 |
---|---|---|
committer | Dct Mei | 2019-04-04 15:46:11 +0800 |
commit | 082259a6c031bcad04ed18806d805569ddc587c8 (patch) | |
tree | 6a79e4f04188476f9a140f27beae2d756434338f | |
download | aur-082259a6c031bcad04ed18806d805569ddc587c8.tar.gz |
music-dl: v2.2.0
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..46e230849874 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = music-dl + pkgdesc = Music-dl is a command line tool which helps you search and download music from multiple sources + pkgver = 2.2.0 + pkgrel = 1 + url = https://github.com/0xHJK/music-dl + arch = any + license = MIT + depends = python-click + depends = python-requests + depends = python-pycryptodome + depends = python-prettytable + source = music-dl-2.2.0.tar.gz::https://github.com/0xHJK/music-dl/archive/v2.2.0.tar.gz + sha512sums = b6b59e32a8e524fc7b046ada8e87667155ad9d9ae0e3da930bbd067dcc56548a3f728559f2f92cd2a6509e411d250e2d91876011d1bd8ad0656d68741a020da5 + +pkgname = music-dl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b164477bd35c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Dct Mei <dctxmei@gmail.com> + +pkgname=music-dl +pkgver=2.2.0 +pkgrel=1 +pkgdesc="Music-dl is a command line tool which helps you search and download music from multiple sources" +arch=('any') +url="https://github.com/0xHJK/music-dl" +license=('MIT') +depends=("python-click" "python-requests" "python-pycryptodome" "python-prettytable") +source=("$pkgname-$pkgver.tar.gz::https://github.com/0xHJK/music-dl/archive/v$pkgver.tar.gz") +sha512sums=("b6b59e32a8e524fc7b046ada8e87667155ad9d9ae0e3da930bbd067dcc56548a3f728559f2f92cd2a6509e411d250e2d91876011d1bd8ad0656d68741a020da5") + +build() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |