aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-common
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gnome-common')
-rw-r--r--testing/gnome-common/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/gnome-common/APKBUILD b/testing/gnome-common/APKBUILD
new file mode 100644
index 0000000000..b2296a8d16
--- /dev/null
+++ b/testing/gnome-common/APKBUILD
@@ -0,0 +1,49 @@
+# 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
+}
+
+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"