aboutsummaryrefslogtreecommitdiffstats
path: root/shared-mime-info/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'shared-mime-info/PKGBUILD')
-rw-r--r--shared-mime-info/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/shared-mime-info/PKGBUILD b/shared-mime-info/PKGBUILD
new file mode 100644
index 0000000..6c49c86
--- /dev/null
+++ b/shared-mime-info/PKGBUILD
@@ -0,0 +1,42 @@
+#Maintainer: purnomo hadi <dimension.breaker@dracos-linux.org>
+
+pkgname=shared-mime-info
+pkgver=1.10
+pkgrel=1
+pkgdesc="The Shared Mime Info package contains a MIME database. "
+arch=(x86_64)
+url="fredesktop.org"
+license=('GPLv3+')
+depends=('libxml2' 'glib' )
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+source=("https://people.freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz")
+sha256sums=('c625a83b4838befc8cafcd54e3619946515d9e44d63d61c4adf7f5513ddfbebf')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --libdir=/usr/lib .. &&
+ make
+
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+
+ make DESTDIR="$pkgdir" install
+
+ if [ -d "$pkgdir/usr/share/man" ]; then
+ rm -rf $pkgdir/usr/share/man
+
+ fi
+ if [ -d "$pkgdir/usr/share/doc" ]; then
+ rm -rf $pkgdir/usr/share/doc
+
+ fi
+
+}
+
+
+