archrelease: copy trunk to extra-x86_64
[arch-packages.git] / plotutils / trunk / PKGBUILD
blobd98272d63a029773f633672eeb0b91bf976382ed
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 sha512sums=('4e5982605e5c1fbdb7325069c3ab2edd736e37a2eb30a1ec01fdc3541fcee6ed49937d4814c6baf79dab5b6fa42f909e4800c851d0ace3c7cf6d5a8681d0f0e7'
18             'SKIP'
19             'f05fd9cc7731d5167b112dae489f8adc69a2a478d85610998711c4aea011afe5af434c9ac2889aa5162dfc63dd7d4807ee0c1c55ad50d3605685b74ce6021030')
20 validpgpkeys=('C7823604DFEA27BC29DD4F179DEB46C0D679F6CF') # Karl Berry
22 build() {
23   cd "${srcdir}/${pkgname}-${pkgver}"
24   patch -p0 -i ../plotutils-2.6-libpng-1.5.patch
25   ./configure --prefix=/usr \
26         --with-gnu-ld \
27         --with-x \
28         --enable-libplotter
29   make
32 package() {
33   cd "${srcdir}/${pkgname}-${pkgver}"
34   make DESTDIR="${pkgdir}" install