archrelease: copy trunk to extra-x86_64
[arch-packages.git] / plotutils / repos / extra-x86_64 / PKGBUILD
blobd01deeb93c6b0226695ced49c984adcc28cc792c
1 # Maintainer: damir <damir@archlinux.org>
2 # Packager: Maksim Sipos (maxsipos at gmail dot com)
4 pkgname=plotutils
5 pkgver=2.6
6 pkgrel=10
7 arch=('x86_64')
8 pkgdesc="Set of utilities and libraries for plotting."
9 url="https://directory.fsf.org/graphics/plotutils.html"
10 license=("GPL")
11 depends=("libpng" "gcc-libs" "libxaw>=1.0.5")
12 source=(https://ftp.gnu.org/pub/gnu/plotutils/$pkgname-$pkgver.tar.gz{,.sig} 
13         plotutils-2.6-libpng-1.5.patch)
14 sha1sums=('7921301d9dfe8991e3df2829bd733df6b2a70838'
15           'SKIP'
16           '492f0e04f8265ab50d9ba0905a0f5adf3ec06ab8')
17 validpgpkeys=('C7823604DFEA27BC29DD4F179DEB46C0D679F6CF') # Karl Berry
19 build() {
20   cd "${srcdir}/${pkgname}-${pkgver}"
21   patch -p0 -i ../plotutils-2.6-libpng-1.5.patch
22   ./configure --prefix=/usr \
23         --with-gnu-ld \
24         --with-x \
25         --enable-libplotter
26   make
29 package() {
30   cd "${srcdir}/${pkgname}-${pkgver}"
31   make DESTDIR="${pkgdir}" install