Package Details: kplot 0.1.15-1

Git Clone URL: https://aur.archlinux.org/kplot.git (read-only, click to copy)
Package Base: kplot
Description: Cairo plotting library
Upstream URL: https://kristaps.bsd.lv/kplot/
Licenses: ISC
Submitter: vinvin
Maintainer: None
Last Packager: vinvin
Votes: 1
Popularity: 0.000000
First Submitted: 2016-09-22 22:47 (UTC)
Last Updated: 2020-01-28 21:07 (UTC)

Latest Comments

vinvin commented on 2020-01-28 21:07 (UTC)

Thank you Miegl, I have updated it.

Miegl commented on 2020-01-07 11:25 (UTC)

new 0.1.15 PKGBUILD:

# 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' '0db8d4dd06fe9123a330eb451222dcb3925d3bc8')

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

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

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

linux.patch:

--- kplot-0.1.15.orig/Makefile  2020-01-07 12:17:18.369946093 +0100
+++ kplot-0.1.15/Makefile       2020-01-07 12:20:38.616608815 +0100
@@ -6,7 +6,7 @@
 VERSION                = 0.1.15
 LDADD          = `pkg-config --libs --silence-errors cairo || echo '-L/opt/X11/lib -lcairo'`
 #If you're on GNU/Linux, you'll need to uncomment this.
-#LDADD         += -L/usr/local/include -lbsd
+LDADD          += -L/usr/include -lbsd
 EXAMPLES       = example0 \
                  example1 \
                  example2 \
@@ -173,7 +173,7 @@
        mkdir -p $(DESTDIR)$(PREFIX)/share/man/man3
        install -m 0444 libkplot.a $(DESTDIR)$(PREFIX)/lib
        install -m 0444 kplot.h $(DESTDIR)$(PREFIX)/include
-       install -m 0444 $(MANS) $(DESTDIR)$(PREFIX)/man/man3
+       install -m 0444 $(MANS) $(DESTDIR)$(PREFIX)/share/man/man3

 www: $(HTMLS) $(PNGS) kplot.tgz kplot.tgz.sha512