summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 29e7a1e8d3e1ab92f64c5260605548ee2a98a4df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=svgcleaner-gui-git
pkgver=0.6.91.73.gdfd1fd8
pkgrel=1
pkgdesc="main GUI for svgcleaner"
url="https://github.com/RazrFalcon/svgcleaner-gui"
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('qt5-tools')
depends=('hicolor-icon-theme' 'qt5-base' 'svgcleaner' 'p7zip')
source=(git+https://github.com/RazrFalcon/svgcleaner-gui)
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  printf "0.6.91.%s.g%s"  $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}

build() {
  cd "${pkgname%-git}"
  qmake-qt5 svgcleaner-gui.pro
  make 
}

package() {
  cd "${pkgname%-git}"
  make "INSTALL_ROOT=$pkgdir" install
}