diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-09-16 22:32:37 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-09-16 22:33:14 +0000 |
commit | d99017cd4640a8468962b278915b6df40098601d (patch) | |
tree | f6147f27a68d59a727b31bb2e0c8b43874bfc628 /community | |
parent | 45d5a183dbe6b5c3bc9a67dc5525d3b1dfd2c67c (diff) | |
download | aports-d99017cd4640a8468962b278915b6df40098601d.tar.bz2 aports-d99017cd4640a8468962b278915b6df40098601d.tar.xz |
community/beets: modernize APKBUILD
Diffstat (limited to 'community')
-rw-r--r-- | community/beets/APKBUILD | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/community/beets/APKBUILD b/community/beets/APKBUILD index d341a4c87b..25cca86354 100644 --- a/community/beets/APKBUILD +++ b/community/beets/APKBUILD @@ -3,38 +3,26 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=beets pkgver=1.4.5 -pkgrel=0 +pkgrel=1 pkgdesc="music library manager and MusicBrainz tagger" url="http://beets.io" arch="noarch" license="MIT" depends="python2 py-mutagen py-unidecode py-musicbrainzngs py-munkres py-setuptools py-enum34 py-yaml py-jellyfish" -depends_dev="" makedepends="python2-dev py-setuptools" -install="" -subpackages="" source="https://github.com/sampsyo/beets/releases/download/v$pkgver/beets-$pkgver.tar.gz" -_builddir="$srcdir"/beets-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="b1ec96bf90e9e11be70085af87fe124ca52bf939ea5334379eb8f42b948cb2f534afc804428e3b928439e92fbd46e6fc1a00a71b16f9f35646ef6e94a6f9148c beets-1.4.5.tar.gz" |