aboutsummaryrefslogtreecommitdiffstats
path: root/testing/imake/APKBUILD
blob: e74c114b5bd2adf41d6602b83d0cca543d753a9a (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.6
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="d5058b1317a85bedc1dc40c7e85c8d26  imake-1.0.6.tar.bz2"
sha256sums="fa8983fdb0a72ba8482d1d2683967fb45c29edd7149b25f619f97ea5a599069d  imake-1.0.6.tar.bz2"
sha512sums="5e0744903c8b044fac98859fee1d15fe1db4b8346a1b1fd0c8c8a683914c3a83a2d18316cadf1ab7ee455004b761c1fa7808bdf48bbfb9e7cbe6c7c143ad2f43  imake-1.0.6.tar.bz2"