summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Mazieres2015-06-10 23:25:41 -0700
committerDavid Mazieres2015-06-10 23:25:41 -0700
commitec231a1a5f4eabaa0419954454de96c0b33e3ac9 (patch)
tree77dc475b83e992dc3bec3edc830da2289756b66c /PKGBUILD
downloadaur-ec231a1a5f4eabaa0419954454de96c0b33e3ac9.tar.gz
import aur3 package to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e2610d745c4f
--- /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
+}