Created
January 12, 2014 20:36
-
-
Save kniren/8390234 to your computer and use it in GitHub Desktop.
PKGBUILD fix for binfmt-support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=binfmt-support | |
pkgver=2.1.1 | |
pkgrel=1 | |
pkgdesc="register interpreters for various binary formats" | |
arch=(i686 x86_64) | |
url="http://packages.debian.org/en/sid/binfmt-support" | |
license=('GPL') | |
depends=('libpipeline') | |
makedepends=() | |
source=(http://ftp.de.debian.org/debian/pool/main/b/binfmt-support/binfmt-support_$pkgver.orig.tar.gz | |
binfmt-support.service) | |
md5sums=('02938b0b4d3cd038871f7971d922beec' | |
'72df6ac607ebfe9eface932b76b66291') | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
./configure --prefix=/usr --libexecdir=/usr/lib --sbindir=/usr/bin | |
make | |
} | |
package() { | |
cd "$srcdir/$pkgname-$pkgver" | |
make DESTDIR="$pkgdir/" install | |
install -dm0755 $pkgdir/var/lib/binfmts | |
install -Dm755 $srcdir/binfmt-support.service $pkgdir/usr/lib/systemd/system/binfmt-support.service | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment