blob: 61a8b0900b7b78f59bbcfb9a741fdfe72546e577 (
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
|
# Maintainer: Jan Seeger <jan.seeger+arch@thenybble.de>
pkgname=valentina-git
pkgver=rcf51f3837
pkgrel=1
pkgdesc="Sewing pattern drafting tool aiming to remake the garment industry"
arch=('i686' 'x86_64')
url="https://gitlab.com/smart-pattern/valentina"
license=('GPL3')
source=('git+https://gitlab.com/smart-pattern/valentina.git#branch=develop')
depends=('qt5-svg')
makedepends=('git' 'qt5-tools')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/valentina"
printf "r%s" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/valentina"
qmake PREFIX=/usr PREFIX_LIB=/usr/lib Valentina.pro -r \
CONFIG+=noTests CONFIG+=no_ccache CONFIG+=noRunPath \
CONFIG+=noDebugSymbols
make -j $(nproc)
}
package() {
cd "$srcdir/valentina"
INSTALL_ROOT="$pkgdir/" make install
}
|