blob: 0d3d02e3c85b9e0196d048dab7fc9c63739b88c4 (
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
|
# Contributor:
# Maintainer:
pkgname=sandy
pkgver=0.4
pkgrel=0
pkgdesc="sandy is an ncurses text editor with an easy-to-read, hackable C source."
url="http://tools.suckless.org/sandy"
arch="all"
license="MIT"
depends="ncurses"
depends_dev=""
makedepends="$depends_dev ncurses-dev"
install=""
subpackages=""
source="http://git.suckless.org/sandy/snapshot/sandy-0.4.tar.gz"
_builddir=${srcdir}/${pkgname}-${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
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
install -d "$pkgdir"/usr/share/licenses/"$pkgname"
install -m644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="7600dc689dd622214d9da683903a8f3b sandy-0.4.tar.gz"
sha256sums="753d2cbc3a2b446a4b7111a9a129e4dd4158754bb4195fe496e197dedd4952a7 sandy-0.4.tar.gz"
sha512sums="705c962041990e081eb6380b1d04e11755f8f7e36f50e3cc84e27cfd87259a78b281d19a0c24848008f8d001e713d730d0194c2b7474a44afcba7bfc8a7c0f6c sandy-0.4.tar.gz"
|