blob: 388afdc90e3e817598a17e6ba999d79a0f054f57 (
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
43
44
45
46
47
48
49
50
51
52
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=fish
pkgver=2.1.0
pkgrel=0
pkgdesc="a modern interactive commandline shell"
url="http://www.fishshell.com/"
arch="all"
# guessed from fish/fish.cpp *gag*
license="GPL"
depends=""
depends_dev="libiconv-dev ncurses-dev"
makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-doc"
source="http://fishshell.com/files/$pkgver/fish-$pkgver.tar.gz
fish-safe-strerror.patch"
_builddir="$srcdir"/fish-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
autoconf
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc || return 1
make || return 1
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" || return 1
}
md5sums="3a29aebde522b8f52d9975d7423db99e fish-2.1.0.tar.gz
50547af78aef0c4d45904e79cd637e0e fish-safe-strerror.patch"
sha256sums="af527af9d145df5675ca3031c1a87007d4f4753a1cde49da88f4eb883a1cf044 fish-2.1.0.tar.gz
dd13865f8b45ea616cb37678268ecee65ce4539575ee98ab503633c7b2145edd fish-safe-strerror.patch"
sha512sums="cd8a678df948baefafbf54a14ece7b52fff6620939d82ba0d0f4cd8ad1ae59842a847231de8465a4471e48fb86866f1113bba4ec9cd6433851bb538b1f965075 fish-2.1.0.tar.gz
f23d3b3db8fd9ac28f04a638478183abdebcf0dfbf50989625897741ebd19a771d6cd2baeae08b6c5887013fdba84118b2429b17cf541260ab894f173c81db17 fish-safe-strerror.patch"
|