summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5cb357fe638f702bbcdba0a76c62636b606f7470 (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
# Maintainer: Denton Liu <liu.denton@gmail.com>

pkgname=based-connect-git
_gitname="${pkgname%-git}"
pkgver=r79.2f5c7ff
pkgrel=1
pkgdesc='A reverse-engineered Bose Connect imitation program for Linux.'
arch=('i686' 'x86_64')
url='https://github.com/Denton-L/based-connect'
license=('GPL3')
depends=('bluez-libs')
makedepends=('git')
provides=("$_gitname")
conflicts=("$_gitname")
source=('git+https://github.com/Denton-L/based-connect.git')
md5sums=('SKIP')

pkgver() {
	cd "$_gitname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$_gitname"
	make
}

package() {
	cd "$_gitname"
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}