blob: 0163a1aa941816cf970019565cdf3de3b1abbc18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/bin/bash
# Maintainer: 3bd <3bd3bdr@gmail.com>
# Dash with libedit support
pkgname=dash-editline-git
pkgver=0.5.12
pkgrel=4
pkgdesc='POSIX compliant shell that aims to be as small as possible. (Dynamic libedit support)'
arch=('x86_64')
url='https://git.kernel.org/pub/scm/utils/dash/dash.git'
license=('BSD')
provides=(dash)
conflicts=(dash)
depends=(libedit)
makedepends=(git)
source=('git://git.kernel.org/pub/scm/utils/dash/dash.git')
sha256sums=('SKIP')
build(){
cd dash
./autogen.sh
./configure --with-libedit
for p in ../../*.patch;do
patch -p1 <"$p"
done
make
}
package(){
cd dash/src
mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man1
cp -- dash "$pkgdir"/usr/bin/
gzip -kf dash.1
cp -- dash.1.gz "$pkgdir"/usr/share/man/man1
}
|