[arch-commits] Commit in (discount discount/trunk discount/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Nov 16 07:37:44 UTC 2017


    Date: Thursday, November 16, 2017 @ 07:37:43
  Author: arojas
Revision: 310034

New okular dependency

Added:
  discount/
  discount/trunk/
  discount/trunk/PKGBUILD

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

Added: discount/trunk/PKGBUILD
===================================================================
--- discount/trunk/PKGBUILD	                        (rev 0)
+++ discount/trunk/PKGBUILD	2017-11-16 07:37:43 UTC (rev 310034)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor:  Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+# Contributor: Bartlomiej Piotrowski <nospam at bpiotrowski dot pl>
+# Contributor: Patrick McCarty <pnorcks at gmail dot com>
+
+pkgname=discount
+pkgver=2.2.2
+pkgrel=3
+pkgdesc='A Markdown implementation written in C'
+arch=(x86_64)
+url="https://www.pell.portland.or.us/~orc/Code/discount/"
+license=('custom:BSD')
+source=("http://www.pell.portland.or.us/~orc/Code/$pkgname/$pkgname-$pkgver.tar.bz2")
+sha256sums=('ec7916731e3ef8516336333f8b7aa9e2af51e57c0017b1e03fa43f1ba6978f64')
+depends=(glibc)
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e '/test.*librarian.sh/d' -i configure.inc
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure.sh --prefix=/usr --enable-all-features --with-fenced-code --shared --pkg-config
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+#  mkdir -p $pkgdir/usr/{bin,include,lib}
+  make DESTDIR="$pkgdir" install.everything
+  install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list