summaryrefslogtreecommitdiff
path: root/pcr/alpm_octopi_utils/PKGBUILD
blob: 97ca9a563fb0d59dc7e1adae19e855e641cbc862 (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
# Maintainer (AUR): MatMoul <matmoul@gmail.com>
# Contributor (AUR): Stephan Springer <buzo+arch@Lini.de>
# Contributor (AUR): kikadf <kikadf.01@gmail.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=alpm_octopi_utils
pkgver=1.0.2
_commit=bd9fcd5fc5de8e8e800fbdf553249c95f1300356
pkgrel=1
pkgdesc="Alpm utils for Octopi"
url="https://octopiproject.wordpress.com/"
arch=('i686' 'x86_64')
arch+=('armv7h')
license=('GPL3')
depends=('pacman-contrib')
makedepends=('vala')
source=("https://github.com/aarnt/${pkgname}/archive/${_commit}.tar.gz")
sha256sums=('6af796743349f04127b4e168b03afef510d1b869c8116718c4cc26059ef6d19b')

build() {
    cd "$pkgname-$_commit"
    make
}

package() {
    cd "$pkgname-$_commit"
    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
}