diff options
| author | Alan Lacerda <alacerda@alpinelinux.org> | 2014-12-15 14:50:30 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-19 18:49:07 +0000 |
| commit | 3f891833f2c5c9262e78fc706bdcf165a1d5ab9f (patch) | |
| tree | 5b7b28c9625ddfc717b575aadc570260f0fe3da1 /testing | |
| parent | 6bc05971a1bf8fb95f91a86368b293bcbaa404a1 (diff) | |
| download | aports-3f891833f2c5c9262e78fc706bdcf165a1d5ab9f.tar.bz2 aports-3f891833f2c5c9262e78fc706bdcf165a1d5ab9f.tar.xz | |
testing/libmateweather: new aport
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/libmateweather/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/libmateweather/APKBUILD b/testing/libmateweather/APKBUILD new file mode 100644 index 0000000000..eb273858ee --- /dev/null +++ b/testing/libmateweather/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: +pkgname=libmateweather +pkgver=1.9.1 +pkgrel=0 +pkgdesc="A library to access weather information from online services for numerous locations" +url="https://github.com/mate-desktop/libmateweather" +arch="all" +license="GPL2" +depends="mate-common" +depends_dev="" +makedepends="$depends_dev libsoup-dev libtool intltool gtk+-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://pub.mate-desktop.org/releases/1.9/$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 \ + --prefix=/usr \ + --with-zoneinfo-dir \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 + find "$pkgdir" -name \*.la -delete +} + +md5sums="ddb49988d81288e3fa81c51d28f08b35 libmateweather-1.9.1.tar.xz" +sha256sums="fc384d2389d957a36714594a12341c8a1349cc67cecb67aa205d19e8ae92dd35 libmateweather-1.9.1.tar.xz" +sha512sums="a10e9d66614c89912e756f71c2fc9a2ed8e64394d527897d23d4b75f6ea518b880598a001d787e6d49d811460faee952aaa1fd5a0479c4eab9a09e681ca9b3e0 libmateweather-1.9.1.tar.xz" |
