diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 20 insertions, 9 deletions
@@ -1,17 +1,26 @@ +# Maintainer: Antoine Viallon <antoine.viallon@gmail.com> pkgname=binfmt-support -pkgver=2.1.8 -pkgrel=2 -pkgdesc="register interpreters for various binary formats" +pkgver=2.2.0 +_pkgver=2.2.0 # For use with RC releases, to replace the - with _ +pkgrel=1 +pkgdesc="Arbitraty executable file format kernel extension" arch=('i686' 'x86_64') -url="https://packages.debian.org/en/sid/binfmt-support" +url="https://git.savannah.gnu.org/cgit/binfmt-support.git/" license=('GPL') -depends=('libpipeline') -options=('emptydirs') -source=("http://http.debian.net/debian/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz") -sha256sums=('ebad04db8444d2275d042b5074fa3e160bcf3e2c23ee9b660e75f5acd73618a2') +depends=('autoconf' 'automake') +makedepends=('make' 'gcc') +source=("https://git.savannah.gnu.org/cgit/binfmt-support.git/snapshot/$pkgname-$_pkgver.tar.gz") +sha512sums=('b35238fa96f7e3201f7c9a70172ecd2c6b0be66e4735ff96c17ae2167f670a67c856d0fc1b0d50bf3c14f4a35c5e9927a848814791ea9be928dff82426cb0da4') + +prepare() { + set -e + cd "${srcdir}/$pkgname-$_pkgver" + ./bootstrap +} build() { - cd "$srcdir/$pkgname-$pkgver" + + cd "${srcdir}/$pkgname-$_pkgver" ./configure --prefix=/usr \ --libexecdir=/usr/lib \ --sbindir=/usr/bin \ @@ -23,4 +32,6 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install + #install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" # Couldn't find any License ! } + |