summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 499a0f1f6a3f827ab39300eb53052a2ee6cc369c (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
pkgname=lang815bkg-faustus
_gitname=lang815bkg-faustus
pkgver=0.2
pkgrel=2
pkgdesc="Backend for lang815 to change keys led color, when language layout is changed for ASUS TUF Gaming series laptops"
arch=('any')
url="https://gitlab.com/SR_team/lang815bkg-faustus"
license=('GPL3')
depends=('lang815')
makedepends=('git' 'gcc' 'make' 'cmake')
install=${pkgname}.install
options=(!emptydirs)
source=("git+https://gitlab.com/SR_team/lang815bkg-faustus.git")
md5sums=('SKIP')

build() {
	cd ${_gitname}
	cmake -DCMAKE_BUILD_TYPE=MinSizeRel .
	make
}

package() {
	cd ${_gitname}
	mkdir -p ${pkgdir}/usr/lib/
	cp libLang815bkg-faustus.so ${pkgdir}/usr/lib/
	chmod -R 755 ${pkgdir}/usr
}