aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-mime-data/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-10 15:43:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-10 15:43:02 +0000
commit5b67e37dc287beb837796825db5994fbe85b7e13 (patch)
tree3a74d7c428065b7bd00948718da96146a061735e /main/gnome-mime-data/APKBUILD
parent95a96c6e234c526c5ab6bbbfdef4a8316537ef15 (diff)
downloadaports-5b67e37dc287beb837796825db5994fbe85b7e13.tar.bz2
aports-5b67e37dc287beb837796825db5994fbe85b7e13.tar.xz
Revert "main/gnome-mime-data: move to community"
gnome-vfs in main depends on it This reverts commit 4f8661131edab83465dbf3a817fd0506b2dc5541.
Diffstat (limited to 'main/gnome-mime-data/APKBUILD')
-rw-r--r--main/gnome-mime-data/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/gnome-mime-data/APKBUILD b/main/gnome-mime-data/APKBUILD
new file mode 100644
index 0000000000..c8a2ed462d
--- /dev/null
+++ b/main/gnome-mime-data/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=gnome-mime-data
+pkgver=2.18.0
+pkgrel=1
+pkgdesc="MIME data for GNOME environment"
+url="http://www.gnome.org/"
+arch="noarch"
+license="LGPL"
+depends=
+depends_dev=
+makedepends="glib-dev intltool"
+install=""
+subpackages="$pkgname-lang"
+source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ update_config_sub || return 1
+ 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 \
+ --disable-scrollkeeper \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="541858188f80090d12a33b5a7c34d42c gnome-mime-data-2.18.0.tar.bz2"