aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/shed/APKBUILD
blob: fc71bea7b9523389e983863c75b4aa45553162dd (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
# 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
}

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