aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-02-05 23:12:48 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-02-05 23:12:48 +0000
commit41ef1587a4ab391992dd76d6f11fbb99f26690ea (patch)
treeb89c1bf067d23d3a5806cf1ac8dd1afe05728985
parentfd8a9c4415114974bd48cd13cbf953e0fb673171 (diff)
downloadaports-41ef1587a4ab391992dd76d6f11fbb99f26690ea.tar.bz2
aports-41ef1587a4ab391992dd76d6f11fbb99f26690ea.tar.xz
testing/gnome-common: new aport
-rw-r--r--testing/gnome-common/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/gnome-common/APKBUILD b/testing/gnome-common/APKBUILD
new file mode 100644
index 0000000000..8e4a3c639a
--- /dev/null
+++ b/testing/gnome-common/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=gnome-common
+pkgver=3.10.0
+pkgrel=0
+pkgdesc="Common development macros for GNOME"
+url="http://www.gnome.org"
+arch="noarch"
+license="GPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="https://download.gnome.org/sources/gnome-common/3.10/gnome-common-$pkgver.tar.xz"
+
+_builddir="$srcdir"/gnome-common-$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 \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="060eda0de8348a6aede83d597e3c6323 gnome-common-3.10.0.tar.xz"
+sha256sums="aed69474a671e046523827f73ba5e936d57235b661db97900db7356e1e03b0a3 gnome-common-3.10.0.tar.xz"
+sha512sums="6c6408160dc2f4132c71b6795e0f3b026d0d2737e3712294bb8cb0c097ec74d30cf70740d50c7712f38477b24ab6fd11d8872c7a3ed1919f24aa43a546e9febe gnome-common-3.10.0.tar.xz"