]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
Initial commit
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 11:26:37 +0000 (12:26 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 11:27:19 +0000 (12:27 +0100)
.SRCINFO [new file with mode: 0644]
PKGBUILD [new file with mode: 0644]

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644 (file)
index 0000000..91d2f0c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+# Generated by mksrcinfo v8
+# Thu Feb 14 11:27:03 UTC 2019
+pkgbase = dash-static
+       pkgdesc = POSIX compliant shell that aims to be as small as possible. Statically compiled
+       pkgver = 0.5.10.2
+       pkgrel = 1
+       url = http://gondor.apana.org.au/~herbert/dash/
+       arch = x86_64
+       license = BSD
+       source = http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.10.2.tar.gz
+       sha512sums = 0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640
+
+pkgname = dash-static
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644 (file)
index 0000000..9a9e1e7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer : Immae <ismael.bouya@normalesup.org>
+
+pkgname=dash-static
+pkgver=0.5.10.2
+pkgrel=1
+pkgdesc="POSIX compliant shell that aims to be as small as possible. Statically compiled"
+arch=('x86_64')
+url="http://gondor.apana.org.au/~herbert/dash/"
+license=('BSD')
+source=("http://gondor.apana.org.au/~herbert/dash/files/dash-${pkgver}.tar.gz")
+sha512sums=('0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640')
+
+
+build () {
+  cd "dash-$pkgver"
+  export CC="gcc -static"
+  export CFLAGS="-Os -static"
+  ./configure --with-libedit
+  make
+}
+
+package() {
+  cd "dash-$pkgver"
+  install -Dm755 src/dash $pkgdir/usr/bin/dash-static
+}