summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a64714096115e4ce213dfcb4569634fcd7aee57 (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
pkgname=garfield-git

pkgver=1.0.0
pkgrel=1
license=('MIT')
pkgdesc='Simple, customizable garfield emulator.'
arch=('any')
url='https://github.com/sarahkittyy/garfield'
source=('garfield-git::git+https://github.com/sarahkittyy/garfield.git')
makedepends=('cmake>=3.13' 'gcc>=8.0' 'git>=2.0')
provides=('garfield')
md5sums=('SKIP')

build()
{
	cd "$pkgname"
	mkdir -p build
	cd build
	cmake ..
	make
}

package()
{
	cd "$pkgname/build"
	pwd
	sudo make DESTDIR="$pkgdir/" install
}