summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8e2bd168ecf..0aedb4651d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,7 @@ pkgbase = dash-static-musl
arch = x86_64
license = BSD
makedepends = musl
+ makedepends = libedit
provides = dash
conflicts = dash
source = https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-0.5.11.4.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 9c2452c9857..e25bd8b46b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ url="http://gondor.apana.org.au/~herbert/dash/"
license=('BSD')
provides=("$_pkgbase")
conflicts=("$_pkgbase")
-makedepends=('musl') #we are static
+makedepends=('musl' 'libedit') #we are static
install=dash.install
source=("https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/${_pkgbase}-${pkgver}.tar.gz")
sha512sums=('6bfe9f4cd4c8d7f0ba0f71d6df1fb784b3a3960d4395f76604e46d21e13c16e504c0b73ee7e8113d64448d1db2c90f5dbcc19fd2a40b8a52d3e8f32ee3ad61ca')
@@ -26,9 +26,10 @@ prepare() {
build() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
- export CC="musl-gcc -static"
- export CFLAGS='-Os -static'
+ export CC="musl-gcc"
+ export CFLAGS="$CFLAGS -Os"
./configure \
+ --enable-static \
--prefix=/usr \
--bindir=/usr/bin \
--mandir=/usr/share/man \