aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 12:26:37 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 12:27:19 +0100
commitaf87ed0a69deebf7b400d8f8d88ce2342913b7fa (patch)
treebe9e4a83d6860d0c8139d304f035c6a8df1eff5b
downloadAUR-af87ed0a69deebf7b400d8f8d88ce2342913b7fa.tar.gz
AUR-af87ed0a69deebf7b400d8f8d88ce2342913b7fa.tar.zst
AUR-af87ed0a69deebf7b400d8f8d88ce2342913b7fa.zip
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..91d2f0c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
1# Generated by mksrcinfo v8
2# Thu Feb 14 11:27:03 UTC 2019
3pkgbase = dash-static
4 pkgdesc = POSIX compliant shell that aims to be as small as possible. Statically compiled
5 pkgver = 0.5.10.2
6 pkgrel = 1
7 url = http://gondor.apana.org.au/~herbert/dash/
8 arch = x86_64
9 license = BSD
10 source = http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.10.2.tar.gz
11 sha512sums = 0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640
12
13pkgname = dash-static
14
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..9a9e1e7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
1# Maintainer : Immae <ismael.bouya@normalesup.org>
2
3pkgname=dash-static
4pkgver=0.5.10.2
5pkgrel=1
6pkgdesc="POSIX compliant shell that aims to be as small as possible. Statically compiled"
7arch=('x86_64')
8url="http://gondor.apana.org.au/~herbert/dash/"
9license=('BSD')
10source=("http://gondor.apana.org.au/~herbert/dash/files/dash-${pkgver}.tar.gz")
11sha512sums=('0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640')
12
13
14build () {
15 cd "dash-$pkgver"
16 export CC="gcc -static"
17 export CFLAGS="-Os -static"
18 ./configure --with-libedit
19 make
20}
21
22package() {
23 cd "dash-$pkgver"
24 install -Dm755 src/dash $pkgdir/usr/bin/dash-static
25}