aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 15:20:20 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:21 +0000
commit7f2a369be13a8f61f0c80f5ae004710ea4f4c5d5 (patch)
treeee95430508f9384093c0bdfa6a9b94ce483b6533
parent5fcb1e8fa2b424c46e94614416aa8f262a0eec25 (diff)
downloadaports-7f2a369be13a8f61f0c80f5ae004710ea4f4c5d5.tar.gz
aports-7f2a369be13a8f61f0c80f5ae004710ea4f4c5d5.tar.bz2
aports-7f2a369be13a8f61f0c80f5ae004710ea4f4c5d5.tar.xz
community/mate-themes: upgrade to 3.22.14, modernize APKBUILD, added check()
-rw-r--r--community/mate-themes/APKBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/community/mate-themes/APKBUILD b/community/mate-themes/APKBUILD
index ca7193587e..d6af8b8007 100644
--- a/community/mate-themes/APKBUILD
+++ b/community/mate-themes/APKBUILD
@@ -1,35 +1,36 @@
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-themes
-pkgver=3.22.8
+pkgver=3.22.14
pkgrel=0
pkgdesc="MATE themes"
url="https://github.com/mate-desktop/mate-themes"
arch="noarch"
license="LGPL2"
depends="mate-common"
-depends_dev=""
-makedepends="$depends_dev intltool gdk-pixbuf-dev gtk+2.0-dev icon-naming-utils"
-install=""
+makedepends="intltool gdk-pixbuf-dev gtk+2.0-dev icon-naming-utils gtk+3.0-dev"
subpackages="$pkgname-lang"
-source="http://pub.mate-desktop.org/releases/themes/${pkgver%.*}/mate-themes-$pkgver.tar.xz"
-
+source="http://pub.mate-desktop.org/releases/themes/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
+
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--sysconfdir=/etc \
- --prefix=/usr \
- --enable-all-themes \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="${pkgdir}" install || return 1
+ make DESTDIR="${pkgdir}" install
}
-sha512sums="1ee02a93ff03a2e2c50c352e9a4b2fd3f093a8d7990fce36bc0d3af65501202a281904bee74c095eda549b1be9a50bf4a293071cf0980fced8158df97d986d0e mate-themes-3.22.8.tar.xz"
+sha512sums="53c9e1331422316354d43a2de2ef41d888ed9bea2b0d2ee6fcf255887e30fcecdd84514db131376d5bf1cc97a51ab2c9da3261f654c5fd79d8ccb9a589f45308 mate-themes-3.22.14.tar.xz"