summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2bddd50058873f28790f922671ef4014c5c57210 (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: Vincent Hourdin <vh|at|free-astro=DOT=vinvin.tf>
pkgname=kplot
pkgver=0.1.15
pkgrel=1
pkgdesc="Cairo plotting library"
arch=('i686' 'x86_64')
license=('ISC')
depends=('cairo' 'libbsd')
url="https://kristaps.bsd.lv/kplot/"

_pkgname="${pkgname}-${pkgver}"
source=("https://kristaps.bsd.lv/kplot/snapshots/kplot.tgz" "linux.patch")
sha1sums=('f894b9634dde97df3731f1155649350080b8bf8a' 'ce9ac134f39fd7a1b17c74a9cbc3df436522adac')

prepare() {
        cd "${_pkgname}"
        patch --verbose -p1 < ../linux.patch
}

build() {
        cd "${_pkgname}"
        make
}

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