aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 18:50:00 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-25 08:25:49 -0300
commit42e9c73155d2750476a349e11374c3c0ae95cb3f (patch)
tree06147e3f51e97728536e7926a9d921779037b8fd
parentcd9cafe0031a534acd0d922a36fe1de7787db1ef (diff)
downloadaports-42e9c73155d2750476a349e11374c3c0ae95cb3f.tar.gz
aports-42e9c73155d2750476a349e11374c3c0ae95cb3f.tar.bz2
aports-42e9c73155d2750476a349e11374c3c0ae95cb3f.tar.xz
community/gtk-murrine-engine: modernize
-rw-r--r--community/gtk-murrine-engine/APKBUILD28
1 files changed, 9 insertions, 19 deletions
diff --git a/community/gtk-murrine-engine/APKBUILD b/community/gtk-murrine-engine/APKBUILD
index d1832234f8..ddc0251b49 100644
--- a/community/gtk-murrine-engine/APKBUILD
+++ b/community/gtk-murrine-engine/APKBUILD
@@ -1,4 +1,4 @@
-# Contributor:
+# Contributor:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-murrine-engine
pkgver=0.98.2
@@ -7,38 +7,28 @@ pkgdesc="cairo-based gtk engine"
url="http://www.cimitan.com/murrine/"
arch="all"
license="LGPL-3.0-or-later"
-depends=""
makedepends="gtk+2.0-dev cairo-dev intltool"
-install=""
-subpackages=""
-source="http://ftp.acc.umu.se/pub/GNOME/sources/murrine/${pkgver%.*}/murrine-${pkgver}.tar.xz"
+source="http://ftp.acc.umu.se/pub/GNOME/sources/murrine/${pkgver%.*}/murrine-$pkgver.tar.xz"
+
+builddir="$srcdir/murrine-$pkgver"
-_builddir="${srcdir}/murrine-${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
- update_config_sub || return 1
+ default_prepare
+ update_config_sub
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
- --localstatedir=/var || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="5ed6b499b957c33d301c7ac508937517e8f9753fabb84e0cf977f67b10b09968cee5a10bdeae64a05f64606b5769e7313ededbb3b0c3ae9f78e34f893aa96667 murrine-0.98.2.tar.xz"