alpm_octopi_utils: introduced as octopi dependency

This commit is contained in:
Chaoting Liu 2018-02-11 18:02:14 +00:00
parent ce1d52b20b
commit 554c650531

View File

@ -0,0 +1,23 @@
pkgname=alpm_octopi_utils
pkgver=1.0.0
pkgrel=1
pkgdesc="Alpm utils for Octopi"
url="https://octopiproject.wordpress.com/"
arch=('x86_64')
license=('GPL3')
makedepends=('vala' 'git')
source=("git+https://github.com/aarnt/${pkgname}.git#commit=7f3a6c7")
sha1sums=('SKIP')
build() {
cd ${pkgname}
make
}
package() {
cd ${pkgname}
install -D -m755 src/libalpm_octopi_utils.so ${pkgdir}/usr/lib/libalpm_octopi_utils.so
install -D -m644 src/libalpm_octopi_utils.pc ${pkgdir}/usr/lib/pkgconfig/libalpm_octopi_utils.pc
install -D -m644 src/alpm_octopi_utils.h ${pkgdir}/usr/include/alpm_octopi_utils.h
}