blob: f5562379d0fd19b25931500d1666b1f5b1f87cdd (
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
36
37
38
39
40
41
42
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=dash-git
pkgver=0.5.12.r24.gb00288f
pkgrel=1
pkgdesc="A POSIX compliant shell that aims to be as small as possible"
arch=('i686' 'x86_64')
url="http://gondor.apana.org.au/~herbert/dash/"
license=('BSD')
depends=('glibc')
makedepends=('git')
provides=("dash=$pkgver")
conflicts=('dash')
install=dash.install
source=("git+https://git.kernel.org/pub/scm/utils/dash/dash.git")
sha256sums=('SKIP')
pkgver() {
cd "dash"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "dash"
./autogen.sh
./configure \
--prefix="/usr" \
--enable-fnmatch \
--with-libedit
make
}
package() {
cd "dash"
make DESTDIR="$pkgdir" install
install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/dash"
}
|