blob: d3098438891b70b661b6de0717e7d1248c343489 (
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
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: sin <sin@2f30.org>
# Maintainer: sin <sin@2f30.org>
pkgname=noice
pkgver=0.3
pkgrel=0
pkgdesc="a simple file browser"
url="http://git.2f30.org/noice"
arch="all"
license="BSD-2"
depends=""
depends_dev=""
makedepends="ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="http://dl.2f30.org/releases/noice-$pkgver.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() {
make -C "$_builddir" || return 1
}
package() {
make PREFIX=/usr MANPREFIX=/usr/share/man \
DESTDIR="$pkgdir" -C "$_builddir" install || return 1
}
md5sums="ad498f6a879783bcc6bf55a6edc915fc noice-0.3.tar.gz"
sha256sums="eb119767d9c73430426854c1d756dd0a652e21b33a8d5aa7d9300ae9ec5adfc7 noice-0.3.tar.gz"
sha512sums="8ba339ebb10190d4481338ed9450ac28fc28d60488f7fee4eceed15058f06d34148c490bb8f9bc87b2edf2b094dbdac6f273af4754db482ae3bfcdbb7befaa98 noice-0.3.tar.gz"
|