[arch-commits] Commit in xplot/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 23:44:20 UTC 2018


    Date: Friday, November 9, 2018 @ 23:44:20
  Author: foutrelis
Revision: 405370

archrelease: copy trunk to community-staging-x86_64

Added:
  xplot/repos/community-staging-x86_64/
  xplot/repos/community-staging-x86_64/PKGBUILD
    (from rev 405369, xplot/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: xplot/repos/community-staging-x86_64/PKGBUILD (from rev 405369, xplot/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:44:20 UTC (rev 405370)
@@ -0,0 +1,29 @@
+# Maintainer:  Baptiste Jonglez <baptiste--aur at jonglez dot org>
+# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
+
+pkgname=xplot
+pkgver=0.90.7.1
+pkgrel=6
+pkgdesc="Reads from a xpl file to generate plots"
+arch=('x86_64')
+url="http://www.xplot.org/"
+license=('MIT')
+depends=('libx11' 'perl')
+source=("http://www.xplot.org/xplot/$pkgname-$pkgver.tar.gz")
+md5sums=('755e32f8ae429f1c546fdeee7c28c92e')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=${pkgdir}/usr
+  sed -e "s|mandir = \$(exec_prefix)/man/man1|mandir = \$(exec_prefix)/share/man/man1|" -i Makefile
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make install
+  mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}/
+  sed -n '2,31p' "${srcdir}/${pkgname}-${pkgver}/xplot.c" > ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list