diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-05 03:23:04 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-06-05 06:37:12 +0000 |
commit | 21846f9489759e8f10b72e9a61b8f3a6bfcc9eda (patch) | |
tree | 823a4bc6a0d433b346633ba2d0c0c2133cd1399c /community/apk-gtk | |
parent | 17531fe4f312f0a853dcfb42cc299b2912c876c1 (diff) | |
download | aports-21846f9489759e8f10b72e9a61b8f3a6bfcc9eda.tar.bz2 aports-21846f9489759e8f10b72e9a61b8f3a6bfcc9eda.tar.xz |
community/apk-gtk: modernize
Diffstat (limited to 'community/apk-gtk')
-rw-r--r-- | community/apk-gtk/APKBUILD | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/community/apk-gtk/APKBUILD b/community/apk-gtk/APKBUILD index 4661c1ea7a..f686ae4b82 100644 --- a/community/apk-gtk/APKBUILD +++ b/community/apk-gtk/APKBUILD @@ -1,4 +1,4 @@ -# Maintainer: +# Maintainer: pkgname=apk-gtk pkgver=0.1 pkgrel=0 @@ -6,29 +6,22 @@ pkgdesc="gtk+ frontend to apk" url="https://github.com/kaniini/apk-gtk" arch="all" license="MIT" -depends="" makedepends="gtk+2.0-dev gtk+3.0-dev vte-dev vte3-dev" -install="" subpackages="$pkgname-gtk3 $pkgname-policy::noarch" source="apk-gtk-$pkgver.tar.gz::https://github.com/kaniini/apk-gtk/archive/v$pkgver.tar.gz" -builddir="$srcdir/apk-gtk-$pkgver" options="!check" build() { - cd "$builddir" - - make GTK_VERSION=3 || return 1 + make GTK_VERSION=3 cp apk-gtk apk-gtk.3 - make clean || return 1 - make GTK_VERSION=2 || return 1 + make clean + make GTK_VERSION=2 } package() { depends="$pkgname-policy" - - cd "$builddir" - make GTK_VERSION=2 DESTDIR="$pkgdir" install || return 1 + make GTK_VERSION=2 DESTDIR="$pkgdir" install } policy() { |