diff options
author | Alan Lacerda <alacerda@alpinelinux.org> | 2015-07-16 17:02:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-17 07:12:47 +0000 |
commit | 9aab07351e1c47ad210b0c33a4a07037470eba2b (patch) | |
tree | 1ab1821335ee67a1638fac915f5c36d7b93f10a9 /testing/mate-sensors-applet | |
parent | 39ead85449924c7a75fbd91f0c180893b93ca1e8 (diff) | |
download | aports-9aab07351e1c47ad210b0c33a4a07037470eba2b.tar.bz2 aports-9aab07351e1c47ad210b0c33a4a07037470eba2b.tar.xz |
testing/mate-sensors-applet: new aport
Diffstat (limited to 'testing/mate-sensors-applet')
-rw-r--r-- | testing/mate-sensors-applet/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/mate-sensors-applet/APKBUILD b/testing/mate-sensors-applet/APKBUILD new file mode 100644 index 0000000000..fbf47e5feb --- /dev/null +++ b/testing/mate-sensors-applet/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: Alan Lacerda <alacerda@alpinelinux.org> +pkgname=mate-sensors-applet +pkgver=1.10.3 +pkgrel=0 +pkgdesc="An applet for the MATE Panel to display readings from hardware sensors" +url="https://github.com/mate-desktop/mate-sensors-applet" +arch="all" +license="GPLv2" +depends="" +depends_dev="" +makedepends="$depends_dev intltool glib-dev gtk+2.0-dev mate-panel-dev libxslt-dev + itstool libxml2-utils" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" + +_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 \ + --with-gtk=2.0 \ + --prefix=/usr \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 +} + +md5sums="9970bedfad2bfc0b6704e06003aa4979 mate-sensors-applet-1.10.3.tar.xz" +sha256sums="d07a23cf8d707ca3590ef9652525202121e7838987552b40ebc79a0801c5440c mate-sensors-applet-1.10.3.tar.xz" +sha512sums="40763ef49918db4c8d7ddeaf0b3d365eb81053e49c58a15517f8fabb6c9214c6cde371d60210f184470026d60797ac4cad050b44246c062baca9e6b84230efff mate-sensors-applet-1.10.3.tar.xz" |