blob: 85d9327871f786791640dce2caf975b8f23e70fa (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Simon Repp <simon@fdpl.io>
arch=('i686' 'x86_64')
conflicts=('ommpfritt')
depends=('lib2geom-git' 'poppler-qt5' 'pybind11' 'python3' 'qt5-base' 'qt5-imageformats' 'qt5-svg' 'qt5-tools' 'qt5-translations')
license=('GPL3')
makedepends=('cmake' 'git')
md5sums=(
'39e4dba5aa7eff71507a96c49457edcc'
'SKIP'
)
pkgdesc="Semantic, procedural, non-destructive vector modelling"
pkgname=ommpfritt-git
pkgrel=1
pkgver=0.1.3.r568.g62a6fe81
provides=('ommpfritt')
source=(
ommpfritt.desktop
"ommpfritt::git+https://github.com/pasbi/ommpfritt.git"
)
url="https://github.com/pasbi/ommpfritt"
build() {
cd "${srcdir}"/ommpfritt
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DQT_QM_PATH=/usr/share/qt/translations \
..
make -j2
}
package() {
cd "${srcdir}"
install -Dm644 ommpfritt.desktop "${pkgdir}"/usr/share/applications/ommpfritt.desktop
cd "${srcdir}"/ommpfritt/build
install -Dm755 ommpfritt "${pkgdir}"/usr/bin/ommpfritt
}
pkgver() {
cd ommpfritt
git describe --exclude continuous --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
|