diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-24 23:38:50 -0300 |
---|---|---|
committer | TBK <tbk@jjtc.eu> | 2019-05-25 05:57:35 +0200 |
commit | 89470d6316cedfba695b31a67800186082bb4f96 (patch) | |
tree | 1f5a5ea5b54b08ae6569217db2d68d33d7cb7a7c /community/ices | |
parent | b9697c83dec7390f4ce0990d7afa00cddb76a8a2 (diff) | |
download | aports-89470d6316cedfba695b31a67800186082bb4f96.tar.bz2 aports-89470d6316cedfba695b31a67800186082bb4f96.tar.xz |
community/ices: modernize
Closes: GH-8051
Diffstat (limited to 'community/ices')
-rw-r--r-- | community/ices/APKBUILD | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/community/ices/APKBUILD b/community/ices/APKBUILD index c38b8aba37..89c08106db 100644 --- a/community/ices/APKBUILD +++ b/community/ices/APKBUILD @@ -7,21 +7,18 @@ pkgdesc="Source client for broadcasting in MP3 format to an icecast2 server" url="http://icecast.org/ices.php" arch="all" license="GPL-2.0-or-later" -depends="" makedepends="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev - lame-dev perl-dev python2-dev libxml2-dev linux-headers" + lame-dev perl-dev python2-dev linux-headers" subpackages="$pkgname-doc" source="http://downloads.us.xiph.org/releases/ices/$pkgname-$pkgver.tar.gz" replaces="ices2" -builddir=$srcdir/$pkgname-$pkgver prepare() { - default_prepare || return 1 - update_config_guess || return 1 + default_prepare + update_config_guess } build() { - cd "$builddir" ./configure \ --prefix=/usr \ --datadir=/usr/share/doc/ \ @@ -29,15 +26,13 @@ build() { --with-lame \ --with-vorbis \ --with-python \ - --with-perl \ - || return 1 - make || return 1 + --with-perl + make } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 - make -C conf DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install + make -C conf DESTDIR="$pkgdir" install } md5sums="d2f53320ebc7b468d0e0f8a3d2b70883 ices-2.0.2.tar.gz" |