aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-07 01:41:44 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-20 10:01:08 +0000
commitac5439a7518ae3f1b23d1bda20f22e3404533fa4 (patch)
tree307bfdac5c7a37a70eef6ff46100fc051f1606e4
parent7ce733325baec4abb4b61a54e95dc8bd86577991 (diff)
downloadaports-ac5439a7518ae3f1b23d1bda20f22e3404533fa4.tar.gz
aports-ac5439a7518ae3f1b23d1bda20f22e3404533fa4.tar.bz2
aports-ac5439a7518ae3f1b23d1bda20f22e3404533fa4.tar.xz
main/imake: modernise and mark as having no test suite
-rw-r--r--main/imake/APKBUILD27
1 files changed, 7 insertions, 20 deletions
diff --git a/main/imake/APKBUILD b/main/imake/APKBUILD
index 9b56113ff6..7687fad8b3 100644
--- a/main/imake/APKBUILD
+++ b/main/imake/APKBUILD
@@ -1,11 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=imake
pkgver=1.0.7
-pkgrel=0
+pkgrel=1
pkgdesc="X Windows make utility"
url="http://www.x.org"
arch="all"
license="BSD"
+options="!check" # No test suite.
depends=
depends_dev=
makedepends="xproto util-macros $depends_dev"
@@ -13,29 +14,15 @@ 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
+ cd "$builddir"
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="4042a4139a4636f78e2b8a144fdd1fcd imake-1.0.7.tar.bz2"
-sha256sums="690c2c4ac1fad2470a5ea73156cf930b8040dc821a0da4e322014a42c045f37e imake-1.0.7.tar.bz2"
sha512sums="b3527c8fead25c6e093e1fe4a39e60ff210212dcd323e206505b9e872a3f36d9db85f85cab5a6f0fa914fa5c558ef54b499b2b13ccd66739223e4e72ef805d08 imake-1.0.7.tar.bz2"