diff options
author | Josip | 2016-04-28 14:09:54 +0200 |
---|---|---|
committer | Josip | 2016-04-28 14:09:54 +0200 |
commit | 06c21c82a4e134b8a885e40ea366dac33f63a3f9 (patch) | |
tree | fe0d32f9212c025104558b49d063fa6399bc8fe1 | |
parent | 1e3ecd31d8367e34eed513e77930b2cfcf717aef (diff) | |
download | aur-06c21c82a4e134b8a885e40ea366dac33f63a3f9.tar.gz |
Use hooks...
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | fotowall.install | 11 |
3 files changed, 16 insertions, 28 deletions
@@ -1,11 +1,8 @@ -# Generated by mksrcinfo v8 -# Sun Jan 17 20:24:50 UTC 2016 pkgbase = fotowall pkgdesc = A creative tool that allows you to layout your photos or pictures in a personal way pkgver = 0.9 - pkgrel = 1 + pkgrel = 2 url = http://www.enricoros.com/opensource/fotowall/ - install = fotowall.install arch = i686 arch = x86_64 license = GPL2 @@ -1,30 +1,32 @@ +# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: + pkgname=fotowall pkgver=0.9 -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="http://www.enricoros.com/opensource/fotowall/" license=('GPL2') depends=('qt4' 'v4l-utils') -install="${pkgname}.install" source=("http://fotowall.googlecode.com/files/Fotowall-${pkgver}.tar.bz2") sha256sums=('e4d0c005d2cb1d7c09438bfc3098eadebc08946e4fbc0655b7fc8b046de3810d') prepare() { - cd Fotowall-${pkgver} - # for hidden-file-or-dir warning - sed -i -e "s/\.build/build/" ${pkgname}.pro - # for v4l1 compatibility - sed -i -e 's/linux\/videodev.h/libv4l1-videodev.h/' 3rdparty/videocapture/VideoDevice.h + cd Fotowall-${pkgver} + # for hidden-file-or-dir warning + sed -i -e "s/\.build/build/" ${pkgname}.pro + # for v4l1 compatibility + sed -i -e 's/linux\/videodev.h/libv4l1-videodev.h/' 3rdparty/videocapture/VideoDevice.h } build() { - cd Fotowall-${pkgver} - qmake-qt4 PREFIX=/usr - make + cd Fotowall-${pkgver} + qmake-qt4 PREFIX=/usr + make } package() { - cd Fotowall-${pkgver} - make INSTALL_ROOT="${pkgdir}/" install -}
\ No newline at end of file + cd Fotowall-${pkgver} + 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 -} |