diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 17:08:15 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 17:08:49 +0200 |
commit | 74adafb68525d7606bacbc384e6c630dc356fe10 (patch) | |
tree | 18d1699ce7b797389fbc61c4d06ad0e9a30e9f7c /main/libcue | |
parent | 34b93f0f3527a6d99c76350b50b718945884c54a (diff) | |
download | aports-74adafb68525d7606bacbc384e6c630dc356fe10.tar.bz2 aports-74adafb68525d7606bacbc384e6c630dc356fe10.tar.xz |
main/libcue: upgrade to 2.1.0
Diffstat (limited to 'main/libcue')
-rw-r--r-- | main/libcue/APKBUILD | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/main/libcue/APKBUILD b/main/libcue/APKBUILD index 601de15741..cf414a56c2 100644 --- a/main/libcue/APKBUILD +++ b/main/libcue/APKBUILD @@ -1,42 +1,31 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=libcue -pkgver=1.4.0 -pkgrel=3 +pkgver=2.1.0 +pkgrel=0 pkgdesc="library for parsing cue files" url="https://github.com/lipnitsk/libcue" license="GPL" arch="all" depends= -makedepends="autoconf automake libtool bison flex" +makedepends="cmake bison flex" install= subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/lipnitsk/libcue/archive/v$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - autoreconf -vif -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 + cd "$builddir" + cmake -DCMAKE_INSTALL_PREFIX=/usr . || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="34437caeb108326cca7d5d5628b1bc96 libcue-1.4.0.tar.gz" -sha256sums="c3c46d58cebf15b3fe07e6f649014694d338ddd880e941bfb1fd3cedae66c62f libcue-1.4.0.tar.gz" -sha512sums="94ee669d4d288f56bdace55573b63ecef0efdf6f4f97d4d6b869236b4043f94552aae267458a2882b2cbff268b5d1ccb03274b1ca228d5feb2b54a9114017354 libcue-1.4.0.tar.gz" +md5sums="0fff773e95175df349329ea34bc775cf libcue-2.1.0.tar.gz" +sha256sums="288ddd01e5f9e8f901d0c205d31507e4bdffd2540fa86073f2fe82de066d2abb libcue-2.1.0.tar.gz" +sha512sums="2e69e79b6e96eb999e432e10557aaaa986d685d6e69e215bf878760032621bb2a80fafecc9bb1d80bf2f5f57b6288731fab07e1967d8dad29fa864b31d01a9b1 libcue-2.1.0.tar.gz" |