summaryrefslogtreecommitdiff
path: root/community/kbibtex
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/kbibtex
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/kbibtex')
-rw-r--r--community/kbibtex/PKGBUILD33
-rw-r--r--community/kbibtex/kbibtex.install15
2 files changed, 48 insertions, 0 deletions
diff --git a/community/kbibtex/PKGBUILD b/community/kbibtex/PKGBUILD
new file mode 100644
index 000000000..abcd8d8b8
--- /dev/null
+++ b/community/kbibtex/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 87529 2013-04-02 15:44:34Z schiv $
+# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: Antonio Rojas <nqn1976 @ gmail.com>
+# Contributor: cmorlok <christianmorlok@web.de>
+
+pkgname=kbibtex
+pkgver=0.4.1
+_branch=0.4
+pkgrel=2
+pkgdesc="A BibTeX editor for KDE"
+arch=('i686' 'x86_64')
+url='http://home.gna.org/kbibtex/'
+license=('GPL')
+depends=('kdebase-runtime' 'kdegraphics-okular')
+makedepends=('cmake' 'automoc4')
+install=$pkgname.install
+source=("http://download.gna.org/$pkgname/$_branch/$pkgname-$pkgver.tar.bz2")
+md5sums=('657eda1da48198a3c336ff268ce46d6f')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/kbibtex/kbibtex.install b/community/kbibtex/kbibtex.install
new file mode 100644
index 000000000..139cb5694
--- /dev/null
+++ b/community/kbibtex/kbibtex.install
@@ -0,0 +1,15 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et: