diff options
author | Kyle Keen | 2017-03-18 07:27:11 -0400 |
---|---|---|
committer | Kyle Keen | 2017-03-18 07:27:11 -0400 |
commit | dfdf2ef0a19326a954542d115fc47b7277da4385 (patch) | |
tree | 7f01c226d52f1bc4039e435c5c167948c5914c2e /PKGBUILD | |
parent | f041031b8814218fb0ed3f9c98c6c0b296ce1691 (diff) | |
download | aur-liblfds.tar.gz |
7.1.1 update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1,33 +1,35 @@ # Maintainer: Kyle Keen <keenerd@gmail.com> pkgname=liblfds -pkgver=6.1.1 +pkgver=7.1.1 pkgrel=1 +_subname='liblfds711' pkgdesc="Lock free data structures for C." arch=('i686' 'x86_64') url="http://www.liblfds.org/" license=('custom:none') depends=('glibc') source=(http://www.liblfds.org/downloads/$pkgname%20release%20$pkgver%20source.tar.bz2) -md5sums=('ff3c5f1cb7805ab5b2d63c49d5e589e3') -_subname='liblfds611' +md5sums=('2a4cb6d64d8d9333b050059e4a1b7782') build() { cd "$srcdir/${pkgname}${pkgver}/$_subname" - find "$srcdir" -type d -exec chmod +x {} \; - cp makefile.linux makefile + cd build/gcc_gnumake make clean - make arrel - cp bin/${_subname}.a ./ + make ar_rel + cp ../../bin/${_subname}.a ../../ make clean - make sorel + make so_rel } package() { cd "$srcdir/${pkgname}${pkgver}/$_subname" install -Dm644 ${_subname}.a "$pkgdir/usr/lib/liblfds.a" - install -Dm644 bin/${_subname}.so "$pkgdir/usr/lib/liblfds.so" + install -Dm644 bin/${_subname}.so.1.0.0 "$pkgdir/usr/lib/liblfds.so.1.0.0" install -Dm644 inc/${_subname}.h "$pkgdir/usr/include/liblfds.h" install -d "$pkgdir/usr/share/licenses/$pkgname/" echo "There is no license. You are free to use this software in any way, for any purpose. Go forth and create wealth!" > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd "$pkgdir/usr/lib/" + ln -s liblfds.so.1.0.0 liblfds.so.1 + ln -s liblfds.so.1.0.0 liblfds.so } |