-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPKGBUILD
45 lines (42 loc) · 1.02 KB
/
PKGBUILD
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: Andrii Orap [email protected]
# Maintainer: Maksym Zub [email protected]
# Maintainer: Nazarii Denha [email protected]
# Maintainer: Tomasz Marzec [email protected]
pkgname=graph-drawer
pkgver=1.0
pkgrel=1
epoch=
pkgdesc="Generate coordinates for graph visualisation"
arch=("x86_64")
url="https://gitlab.com/ia-projekt-zespolowy-2021-2022/graph-drawer"
license=('MIT')
groups=()
depends=('cmake')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-$pkgver.tar.gz::https://github.com/kroist/graph-drawer/tarball/main")
noextract=("$pkgname-$pkgver.tar.gz")
md5sums=('SKIP')
validpgpkeys=()
prepare() {
mkdir $pkgname-$pkgver
tar -xf $pkgname-$pkgver.tar.gz -C $pkgname-$pkgver --strip-components 1
}
build() {
cd "$pkgname-$pkgver"
cmake -B build
cmake --build build
}
package() {
cd "$pkgname-$pkgver"
mkdir -p "$pkgdir/usr/bin/"
cp build/drawer "$pkgdir/usr/bin/"
}