blob: 8260878d1c6ef9fba9d0b6431fcd20cebbc19da1 (
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
|
# Contributor: Christoph Lehmann (OpenGeoSys)
pkgname=mgis-git
pkgver=r37.bb667ad
pkgrel=1
pkgdesc="Support for MFront generic behaviours"
arch=("x86_64")
url="https://github.com/thelfer/MFrontGenericInterfaceSupport"
license=('LGPL')
groups=()
depends=()
makedepends=('git')
provides=("${pkgname%-git}" mfront-generic-interface-support-git)
conflicts=("${pkgname%-git}" mfront-generic-interface-support-git)
replaces=()
backup=()
options=()
install=
source=('mgis::git+https://github.com/thelfer/MFrontGenericInterfaceSupport.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/mgis"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir"
mkdir -p build
cd build
cmake "../mgis" -DCMAKE_BUILD_TYPE=Debug
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir/" install
}
|