summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosip2016-04-28 14:14:27 +0200
committerJosip2016-04-28 14:14:27 +0200
commitf14ee53ad2e2cb9884f19bdfa1fe53e629a0d507 (patch)
tree34e9cf64521af79cc914a9f4029b373a474c7ddb
parent238e54d2e268dfdd2863b10a2e7fa2a10fba1403 (diff)
downloadaur-f14ee53ad2e2cb9884f19bdfa1fe53e629a0d507.tar.gz
Use hooks...
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD22
-rw-r--r--fotowall.install11
3 files changed, 13 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1cf13a4c72a2..d487170f3c5e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 470647a67669..537fc54d1569 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
-}