diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/krecipes | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/krecipes')
-rw-r--r-- | community/krecipes/PKGBUILD | 38 | ||||
-rw-r--r-- | community/krecipes/krecipes.install | 12 |
2 files changed, 50 insertions, 0 deletions
diff --git a/community/krecipes/PKGBUILD b/community/krecipes/PKGBUILD new file mode 100644 index 000000000..a60ccc44f --- /dev/null +++ b/community/krecipes/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 93464 2013-07-03 19:08:14Z lcarlier $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: shamrok <szamrok@gmail.com> +# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de> +# Contributor: AdriĆ Arrufat <swiftscythe@gmail.com> + +pkgname=krecipes +pkgver=2.0beta2 +_pkgver=2.0-beta2 +pkgrel=4 +pkgdesc="A tool designed to make organizing your personal recipes collection fast and easy" +arch=('i686' 'x86_64') +url="http://extragear.kde.org/apps/krecipes/" +license=('GPL') +depends=('kdebase-runtime' 'qimageblitz' 'hicolor-icon-theme') +makedepends=('cmake' 'automoc4' 'docbook-xsl') +optdepends=('mariadb' 'postgresql') +install=${pkgname}.install +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.gz) +md5sums=('4c01ccad7ad1409cb35c824a61250fe2') + +build() { + cd ${srcdir} + + mkdir build + cd build + + cmake ../${pkgname}-${_pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + + make DESTDIR=${pkgdir} install +} diff --git a/community/krecipes/krecipes.install b/community/krecipes/krecipes.install new file mode 100644 index 000000000..3f06b8deb --- /dev/null +++ b/community/krecipes/krecipes.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |