diff options
author | mirh | 2020-03-27 16:32:39 +0100 |
---|---|---|
committer | mirh | 2020-03-27 16:32:39 +0100 |
commit | bbb01100641c012000f994b37ea9b1ef4006f1c6 (patch) | |
tree | b7069ee7f420158029c0dad805c3edbeff5c2500 /PKGBUILD | |
parent | 4b6c32743ed4dbb1fdffbb777970d33cbc778f82 (diff) | |
download | aur-lib32-libieee1284.tar.gz |
Updated to modernity
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -1,3 +1,4 @@ +# Maintainer: mirh # Contributor: sl1pkn07 # Contributor: josephgbr <rafael.f.f1@gmail.com> # Contributor: Tobias Powalowski <tpowa@archlinux.org> @@ -6,33 +7,38 @@ _pkgbase=libieee1284 pkgname=lib32-libieee1284 pkgver=0.2.11 -pkgrel=5 +_tag=${pkgver//\./_} +pkgrel=6 pkgdesc="A library to query devices connected in parallel port" -arch=('i686' 'x86_64') +arch=('x86_64') license=('GPL2') -url="http://cyberelk.net/tim/libieee1284" +url="https://github.com/twaugh/libieee1284" depends=('lib32-glibc' "${_pkgbase}=${pkgver}") makedepends=('gcc-multilib') -source=("http://downloads.sourceforge.net/sourceforge/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2") -sha1sums=('600e6f8a5c79b435ee81df3618cd82e2b74812de') +source=(libieee1284-$pkgver.zip::https://github.com/twaugh/libieee1284/archive/V$_tag.zip) +sha1sums=('5e24fb4e69652e2460e24af0b7ef6ca960c78965') build() { export CC='gcc -m32' export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - cd "${_pkgbase}-${pkgver}" + cd "${_pkgbase}-${_tag}" + + # We don't want to builkd docs + sed -ie '42,93d' Makefile.am + + ./bootstrap ./configure \ --prefix=/usr \ --libdir=/usr/lib32 \ - --mandir=/usr/share/man \ --without-python make } package() { - cd "${_pkgbase}-${pkgver}" + cd "${_pkgbase}-${_tag}" make DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}/usr/"{include,share} + rm -rf "${pkgdir}"/usr/include mv "${pkgdir}/usr/bin/libieee1284_test" "${pkgdir}/usr/bin/libieee1284_test-32" } |