blob: 63cd72d49f6bf285a7950a3d1eca9e4cee03ff34 (
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
|
#
# PKGBUILD for iselect
#
# Contributor: Uffe Jakobsen <uffe@uffe.org>
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
#
pkgname=iselect
pkgver=1.4.0
pkgrel=3
epoch=
pkgdesc="Interactive Terminal Selection"
arch=('i686' 'x86_64')
url="http://www.ossp.org/pkg/tool/iselect/"
license=('GPL2')
groups=()
depends=('ncurses')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(ftp://ftp.ossp.org/pkg/tool/iselect/$pkgname-$pkgver.tar.gz)
noextract=()
md5sums=('d278a61fe2557f9ce8270328b5f7b3b6')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# NOTE: this makefile does not respect DESTDIR - hence the prefix tweak
./configure --prefix="${pkgdir}/usr" --mandir="${pkgdir}/usr/share"
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
#make -k check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# NOTE: this makefile does not respect DESTDIR - hence the prefix tweak
make DESTDIR="${pkgdir}/" prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share" install
}
# EOF
|