blob: 2b2883fca6967ac9a858b76c6600eb1c2fc1fb36 (
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
53
54
55
56
57
58
59
60
61
62
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=fish
pkgver=2.5.0
pkgrel=0
pkgdesc="a modern interactive commandline shell"
url="http://www.fishshell.com/"
arch="all"
license="GPL2"
depends=""
depends_dev="$pkgname-tools"
makedepends="libtool doxygen ncurses-dev"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools::noarch"
source="http://www.fishshell.com/files/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir" || return 1
rm -fr "$pkgdir"/usr/share/$pkgname/groff
}
dev() {
default_dev || return 1
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/pkgconfig "$subpkgdir"/usr/share
}
doc() {
default_doc || return 1
mkdir -p "$subpkgdir"/usr/share/$pkgname
mv "$pkgdir"/usr/share/$pkgname/man "$subpkgdir"/usr/share/$pkgname
}
tools() {
pkgdesc="$pkgdesc (tools)"
depends="$pkgname python"
mkdir -p "$subpkgdir"/usr/share/$pkgname
mv "$pkgdir"/usr/share/$pkgname/tools "$subpkgdir"/usr/share/$pkgname
}
md5sums="14aad053140641c805d8c3f367b98f37 fish-2.5.0.tar.gz"
sha256sums="f8c0edadca2de379ccf305aeace660a9255fa2180c72e85e97705a24c256b2a5 fish-2.5.0.tar.gz"
sha512sums="6d94bb70a5f1cefaada4d10ac845992f87c9bfc8c253f38bdfcc3a573a35503d825c9487d2ce8ef3819713594ab7b54ebf6c89fe3362c7010c63dbefc99b424d fish-2.5.0.tar.gz"
|