blob: 3c158aefd81f18ce05cf7fc50f5d957ebd12650a (
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
|
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=ldapvi
pkgver=1.7
pkgrel=1
pkgdesc="ldapvi is an interactive LDAP client for Unix terminals"
url="http://www.lichteblau.com/ldapvi/"
arch="all"
license="GNU"
depends=""
depends_dev="openldap-dev popt-dev readline-dev glib-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://www.lichteblau.com/download/${pkgname}-${pkgver}.tar.gz
GNUmakefile.in.diff
ldapvi_vim_modeline_fix.patch
ldapvi_getline.patch"
_builddir=$srcdir/${pkgname}-${pkgver}
prepare() {
local i
cd "$_builddir"
patch -Np0 -i "$srcdir"/GNUmakefile.in.diff
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr
make
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/share/doc/ldapvi" \
"$pkgdir/usr/share/man/man1"
make DESTDIR="$pkgdir" MANDIR="$pkgdir"/usr/share/man/man1 \
DOCDIR="$pkgdir/usr/share/doc/ldapvi" install || return 1
}
md5sums="6dc2f5441ac5f1e2b5b036e3521012cc ldapvi-1.7.tar.gz
615743d94e3353f0d0f72ba488746e04 GNUmakefile.in.diff
fbd6e48d389196b73f1a38be5539a47d ldapvi_vim_modeline_fix.patch
b58b3b443368002ef78aefb6c3c14a05 ldapvi_getline.patch"
sha256sums="6f62e92d20ff2ac0d06125024a914b8622e5b8a0a0c2d390bf3e7990cbd2e153 ldapvi-1.7.tar.gz
a8ea4025c97489f35478b8f8fdd5b4c19adb90ae5c6b51157797ce38a83f8d72 GNUmakefile.in.diff
8ef83d5a74288edb0aeef9bb07ebe9d2866cfa2c960c891953016536f8016e8d ldapvi_vim_modeline_fix.patch
6b6571bdfaf8c2b20da3a44cdc136453e6a904a405262e97dedfef0d089661e1 ldapvi_getline.patch"
sha512sums="4b38cee0763aa33703afbd5e358a458b1468abf58e43ea885879b2117bc1c0bbc375d91c6a43467ec08035b8b3b7dd4b024f2937c37741c7a5513ea9192aed36 ldapvi-1.7.tar.gz
f97bd3c285fc9f76970af7f82bb7adaca70e4bcad634c06b07171afbad6ef83526aca4b6840a66d78ed7cb9b9040a91756c860364f97c45561c88cc4f827fb02 GNUmakefile.in.diff
df070ac52c0046378909dada3c017d23f49a20ea36cbc6df349a830678acce7524266da191b47d8a6b6dd95a9a0399a0ce826e44766e44fba9e75d356cd69960 ldapvi_vim_modeline_fix.patch
34fd4ce7432a578ae5b3ec4c82a369410b5bda4daac4da70d7e176b49fed57f5e8a8bd5255a4dd348be9fc9f6a12c1d1adc2a9fd547cc8ea05b25dd9c66b8f28 ldapvi_getline.patch"
|