aboutsummaryrefslogtreecommitdiffstats
path: root/main/fortify-headers/APKBUILD
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-05-14 10:22:20 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-07 19:10:57 +0000
commit05266955a6613f330f74d3ce7a70ee75855cdc51 (patch)
tree158c8fbf9236ee70233c2e93938b416ca843306f /main/fortify-headers/APKBUILD
parentb8999fe10d2b8a193770ee2af72384be5f409313 (diff)
downloadaports-05266955a6613f330f74d3ce7a70ee75855cdc51.tar.bz2
aports-05266955a6613f330f74d3ce7a70ee75855cdc51.tar.xz
main/fortify-headers: modernize abuild
Diffstat (limited to 'main/fortify-headers/APKBUILD')
-rw-r--r--main/fortify-headers/APKBUILD27
1 files changed, 5 insertions, 22 deletions
diff --git a/main/fortify-headers/APKBUILD b/main/fortify-headers/APKBUILD
index 0793d2db76..1b02ada6d5 100644
--- a/main/fortify-headers/APKBUILD
+++ b/main/fortify-headers/APKBUILD
@@ -7,34 +7,17 @@ pkgdesc="standalone fortify source implementation"
url="http://git.2f30.org/fortify-headers/"
arch="noarch"
license="BSD-0"
-depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
-subpackages=""
-source="http://dl.2f30.org/releases/$pkgname-$pkgver.tar.gz
- "
+source="http://dl.2f30.org/releases/$pkgname-$pkgver.tar.gz"
-_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
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" PREFIX=/usr install
}
-md5sums="678ebdac0c3278b934c6524cd1e3dc4c fortify-headers-0.8.tar.gz"
-sha256sums="afcd073d6d8d175eede2a28a7dd71b7150cb03290f99102261892c793f6b4cb1 fortify-headers-0.8.tar.gz"
sha512sums="14cb6da17ed53272b1439a126a402246395f59e54b339ebf4e6ed8b1ed896702afc15f3084ec0e618b93dbf103cb4e9bc3735f4cab886a0d2ba57081bdcbf9dc fortify-headers-0.8.tar.gz"