aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shed/APKBUILD
blob: e159abe88711190a2ba6fb10b61c8000ec41bc26 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:  Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=shed
pkgver=1.15
pkgrel=0
pkgdesc="A simple hex editor"
url="http://shed.sourceforge.net/"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/shed/shed-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="c7d7d464d6b4fa28a7980270d03e0906  shed-1.15.tar.gz"