aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-applets/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2015-11-09 11:58:09 +0100
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-11-09 11:58:47 +0100
commit5987ab8f905beda6af8086dc28125a530abc868b (patch)
tree94c327c13dc9232c2d75307cc3cf600de389c782 /community/mate-applets/APKBUILD
parent8893ad96d9620cb797e972c680b635a95587ca89 (diff)
downloadaports-5987ab8f905beda6af8086dc28125a530abc868b.tar.bz2
aports-5987ab8f905beda6af8086dc28125a530abc868b.tar.xz
main/mate-applets: move to community
Diffstat (limited to 'community/mate-applets/APKBUILD')
-rw-r--r--community/mate-applets/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/community/mate-applets/APKBUILD b/community/mate-applets/APKBUILD
new file mode 100644
index 0000000000..7a9ce81bbf
--- /dev/null
+++ b/community/mate-applets/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
+# Maintainer:
+pkgname=mate-applets
+pkgver=1.10.3
+pkgrel=0
+pkgdesc="Applets for use with the MATE panel"
+url="https://github.com/mate-desktop/mate-applets"
+arch="all"
+license="GPLv2"
+depends="mate-icon-theme"
+depends_dev=""
+makedepends="$depends_dev intltool gtk+2.0-dev mate-panel-dev libwnck-dev
+ mate-desktop-dev dconf-dev itstool linux-headers libxml2-utils"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+options="suid"
+
+_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
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --sysconfdir=/etc \
+ --prefix=/usr \
+ --disable-stickynotes || return 1
+
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="${pkgdir}" install || return 1
+}
+
+md5sums="4f82b95221c98622e75b8a6b00d0d90d mate-applets-1.10.3.tar.xz"
+sha256sums="4670b0e877639f9c585b84b27c3654880ed96aefea596a8b8c20c955a3c0266d mate-applets-1.10.3.tar.xz"
+sha512sums="a7f579026799022aa8a28e4f233dd83446e35378752e2cbf3f0b0c6b30fbc6c03df7faed3d21bbfc9d092edf610ee0b8903fc366aef750f06b6bd63eeca526a8 mate-applets-1.10.3.tar.xz"