summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13c1ae678271522886e8ead1cb3ab523cd24758b (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.90.6.g92aab02
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' 'svg-cleaner')
source=(git+https://github.com/RazrFalcon/svgcleaner-gui)
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  printf "%s.%s.g%s" $(git describe --tags|tr -d v) $(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
}