aboutsummaryrefslogtreecommitdiffstats
path: root/main/imake/APKBUILD
blob: 9b56113ff6eeda404180b6dc39d35bf9c75804c9 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=imake
pkgver=1.0.7
pkgrel=0
pkgdesc="X Windows make utility"
url="http://www.x.org"
arch="all"
license="BSD"
depends=
depends_dev=
makedepends="xproto util-macros $depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://ftp.x.org/pub/individual/util/$pkgname-$pkgver.tar.bz2"

_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"
	./configure --prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="4042a4139a4636f78e2b8a144fdd1fcd  imake-1.0.7.tar.bz2"
sha256sums="690c2c4ac1fad2470a5ea73156cf930b8040dc821a0da4e322014a42c045f37e  imake-1.0.7.tar.bz2"
sha512sums="b3527c8fead25c6e093e1fe4a39e60ff210212dcd323e206505b9e872a3f36d9db85f85cab5a6f0fa914fa5c558ef54b499b2b13ccd66739223e4e72ef805d08  imake-1.0.7.tar.bz2"