blob: 5eac1db60bc518d9566ef86122d954517629f320 (
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.1
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="0251e6e5f25d1f326e071425ea1dee22 fish-2.1.1.tar.gz
50547af78aef0c4d45904e79cd637e0e fish-safe-strerror.patch"
sha256sums="b7e4d3c3d55fc3859edcb20462fcf0d14ab26e920eddcd503072e8105284d924 fish-2.1.1.tar.gz
dd13865f8b45ea616cb37678268ecee65ce4539575ee98ab503633c7b2145edd fish-safe-strerror.patch"
sha512sums="c6b41a7514d684bc165bdf03edd0f07b0cdfbcc827a3bcc6e9105bbf6b94a60962bd7fffaf5f9c44c450da3d4b6af4bdcf72fbbaaa043851c631d8c2a1344dd6 fish-2.1.1.tar.gz
f23d3b3db8fd9ac28f04a638478183abdebcf0dfbf50989625897741ebd19a771d6cd2baeae08b6c5887013fdba84118b2429b17cf541260ab894f173c81db17 fish-safe-strerror.patch"
|