From ec231a1a5f4eabaa0419954454de96c0b33e3ac9 Mon Sep 17 00:00:00 2001 From: David Mazieres Date: Wed, 10 Jun 2015 23:25:41 -0700 Subject: import aur3 package to aur4 --- PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e2610d7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# This is gross, but can totally save you if you need to fix a machine +# on which you can't easily boot install media. + +pkgname=pacman-static +pkgver=2015 +pkgrel=5 +pkgdesc="Statically-compiled pacman (to fix or install systems without libc)" +arch=('i686' 'x86_64') +url="http://www.archlinux.org/pacman/" +license=('GPL') +makedepends=(gnupg abs asciidoc python2 fakechroot) +optdepends=('gnupg: verify package integrity') +source=(genpacmanstatic) +sha256sums=('77c706302199aa096dc990a71494f4525b819a81deab194cd2fc5ab1b6032b28') + +build() { + cd "$srcdir" + export ASROOT + ./genpacmanstatic +} + +package() { + install -sD "$srcdir"/overlay/usr/bin/pacman-static \ + "$pkgdir"/usr/bin/pacman-static +} -- cgit v1.2.3-70-g09d2