summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42e21fac62e47eb79cc349b1f7c34dba86232b2f (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
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Brandon Hall <brandonjhall@windstream.net>
pkgname=aurbrowser
pkgver=v1.0.0
pkgrel=1
pkgdesc="A Qt application that allows an Arch Linux user to browse the AUR."
arch=('x86_64')
url="https://gitlab.com/brandonjhall/aurbrowser"
license=('GPL')
depends=('qtermwidget>=0.8.0-1' 'qt5-base>=5.10.0-1' 'gcc-libs>=7.2.1+20180116-1' 'glibc>=2.26-11')
makedepends=('qt5-base')
source=($pkgname-$pkgver.tar.gz::"https://gitlab.com/brandonjhall/aurbrowser/repository/v1.0.0/archive.tar.gz")
md5sums=('890d1a7aec3cf65a839fc9107fed9df8')

prepare() {
        cd "$pkgname-$pkgver-fe870addc7780566ecb749ba9034ac3226f0f238"
        qmake "INSTALL_PREFIX=$pkgdir/usr"
}

build() {
	cd "$pkgname-$pkgver-fe870addc7780566ecb749ba9034ac3226f0f238"
	make
}

check() {
	cd "$pkgname-$pkgver-fe870addc7780566ecb749ba9034ac3226f0f238"
	make -k check
}

package() {
	cd "$pkgname-$pkgver-fe870addc7780566ecb749ba9034ac3226f0f238"
	make DESTDIR="$pkgdir/usr/bin" install
}