diff options
author | Josip | 2016-04-28 14:14:27 +0200 |
---|---|---|
committer | Josip | 2016-04-28 14:14:27 +0200 |
commit | f14ee53ad2e2cb9884f19bdfa1fe53e629a0d507 (patch) | |
tree | 34e9cf64521af79cc914a9f4029b373a474c7ddb | |
parent | 238e54d2e268dfdd2863b10a2e7fa2a10fba1403 (diff) | |
download | aur-f14ee53ad2e2cb9884f19bdfa1fe53e629a0d507.tar.gz |
Use hooks...
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | fotowall.install | 11 |
3 files changed, 13 insertions, 25 deletions
@@ -1,11 +1,8 @@ -# Generated by mksrcinfo v8 -# Sun Jan 17 20:36:46 UTC 2016 pkgbase = fotowall-git pkgdesc = A creative tool that allows you to layout your photos or pictures in a personal way pkgver = 0.98.beta.r17.g7b4b595 - pkgrel = 1 + pkgrel = 2 url = https://github.com/enricoros/fotowall - install = fotowall.install arch = i686 arch = x86_64 license = GPL2 @@ -1,6 +1,9 @@ +# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: + pkgname=fotowall-git pkgver=0.98.beta.r17.g7b4b595 -pkgrel=1 +pkgrel=2 pkgdesc="A creative tool that allows you to layout your photos or pictures in a personal way" arch=('i686' 'x86_64') url="https://github.com/enricoros/fotowall" @@ -9,22 +12,21 @@ depends=('desktop-file-utils' 'qt5-svg') makedepends=('git') provides=("${pkgname%-*}") conflicts=("${pkgname%-*}") -install="fotowall.install" source=("git+${url}.git") md5sums=('SKIP') pkgver() { - cd "${pkgname%-*}" - git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' + cd "${pkgname%-*}" + git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' } build() { - cd "${pkgname%-*}" - qmake-qt5 PREFIX=/usr - make + cd "${pkgname%-*}" + qmake-qt5 PREFIX=/usr + make } package() { - cd "${pkgname%-*}" - make INSTALL_ROOT="${pkgdir}/" install -}
\ No newline at end of file + cd "${pkgname%-*}" + make INSTALL_ROOT="${pkgdir}/" install +} diff --git a/fotowall.install b/fotowall.install deleted file mode 100644 index 660593cf5668..000000000000 --- a/fotowall.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |