summaryrefslogtreecommitdiff
path: root/pcr/alpm_octopi_utils/PKGBUILD
blob: 61f571a5b6ec55dad3cf1d8ebf66d39f46a34c39 (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
# Maintainer (AUR): MatMoul <matmoul@gmail.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

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

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
}