summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4e4c7ed3ab145e5a6236adcbe8dfd8da8ba9130 (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: Govind K theamazingdnivog@outlook.com
pkgname=barbarian
pkgver=1.0.0
pkgrel=1
epoch=
pkgdesc="A frontend for the Conan package manager, written in Qt."
arch=('x86_64')
url=""
license=('GPL')
groups=()
depends=('qt5-base' 'cmake')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-$pkgver.tar.xz")
sha256sums=('deba96ab663c67e5a9d46b1cf4088a4ac4860404e3ed8105fc077252567b8d1c')
noextract=()
validpgpkeys=()


build() {
	cd "$pkgname-$pkgver"
	mkdir -p build
	cd build
	cmake ..
	cmake --build . --target all
}

package() {
	cd "$pkgname-$pkgver"
	mkdir -p $pkgdir/usr/bin
	mkdir -p $pkgdir/usr/share/barbarian
	mkdir -p $pkgdir/usr/share/barbarian/logo
	mkdir -p $pkgdir/usr/share/barbarian/license
	install $srcdir/$pkgname-$pkgver/res/barbarian.jpeg $pkgdir/usr/share/barbarian/logo
	install $srcdir/$pkgname-$pkgver/build/barbarian $pkgdir/usr/bin
	install $srcdir/$pkgname-$pkgver/COPYING $pkgdir/usr/share/barbarian/license/
}