aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-05-14 11:31:26 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-07 19:10:57 +0000
commitb8999fe10d2b8a193770ee2af72384be5f409313 (patch)
treeff9698254367f893a4b9dbd520ca3415086c4b65
parentc78c116fd38fdc110e94456e8f1dfb512ddc39e4 (diff)
downloadaports-b8999fe10d2b8a193770ee2af72384be5f409313.tar.bz2
aports-b8999fe10d2b8a193770ee2af72384be5f409313.tar.xz
main/crconf: modernize abuild
-rw-r--r--main/crconf/APKBUILD24
1 files changed, 5 insertions, 19 deletions
diff --git a/main/crconf/APKBUILD b/main/crconf/APKBUILD
index 4248510915..71519bc871 100644
--- a/main/crconf/APKBUILD
+++ b/main/crconf/APKBUILD
@@ -9,32 +9,18 @@ arch="all"
license="GPLv2"
depends=""
makedepends="linux-headers"
-subpackages=""
-source="http://downloads.sourceforge.net/project/crconf/crconf-$_realver.tar.gz
- "
+source="http://downloads.sourceforge.net/project/crconf/crconf-$_realver.tar.gz"
-_builddir="$srcdir"/$pkgname-$_realver
-
-prepare() {
- cd $_builddir
-
- for i in $source; do
- case $i in
- *.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$_realver
build() {
- cd $_builddir
- make || return 1
+ cd $builddir
+ make
}
package() {
- cd $_builddir
+ cd $builddir
make -j1 DESTDIR="$pkgdir" install
}
-md5sums="4b96e3fbd570d694ea25659a79a6db5c crconf-pre2.tar.gz"
-sha256sums="15d39b599acda93a50f473190e702d593ba13613b6ed31711f3584b5726b81b8 crconf-pre2.tar.gz"
sha512sums="e4526626c71391968beafaf606bc477849ed11007bcfe4dd9b056bdbd08d19dce41b18418693fd5d2fab29f618e3fdad3ec4f4f2ea269207443e94e7552b4daa crconf-pre2.tar.gz"