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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:29:21 UTC 2018


    Date: Friday, November 9, 2018 @ 21:29:19
  Author: felixonmars
Revision: 404648

archrelease: copy trunk to community-staging-x86_64

Added:
  pdcurses/repos/community-staging-x86_64/
  pdcurses/repos/community-staging-x86_64/PKGBUILD
    (from rev 404647, pdcurses/trunk/PKGBUILD)

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

Copied: pdcurses/repos/community-staging-x86_64/PKGBUILD (from rev 404647, pdcurses/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 21:29:19 UTC (rev 404648)
@@ -0,0 +1,35 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Serge Ziryukin <ftrvxmtrx at gmail.com>
+
+pkgname=pdcurses
+pkgver=3.4
+pkgrel=9
+pkgdesc='Cross-platform (DOS, OS/2, Win32, X11 and SDL) curses implementation'
+arch=('x86_64')
+url='https://github.com/macton/pdcurses'
+license=('GPL')
+depends=('xaw3d' 'bash' 'sdl')
+source=("$pkgname-$pkgver.tgz::https://github.com/macton/$pkgname/archive/master.tar.gz")
+options=('staticlibs')
+sha256sums=('9b9185071a0ccfe8ae06ddd8fc75c2afecf5ebc54812f4de821d563114a97e12')
+
+build() {
+  cd "$pkgname-master"
+
+  ./configure --prefix=/usr --enable-widec --enable-xim --with-xaw3d --with-x
+  make
+  make -C sdl1
+}
+
+package() {
+  cd "$pkgname-master"
+
+  make DESTDIR="$pkgdir" install
+  install -c -m 644 curspriv.h "$pkgdir/usr/include/xcurses/curspriv.h"
+  install -c -m 644 sdl1/pdcsdl.h "$pkgdir/usr/include/xcurses/pdcsdl.h"
+  install -c -m 644 sdl1/libpdcurses.a "$pkgdir/usr/lib/libpdcurses.a"
+  ln -sf libXCurses.a $pkgdir/usr/lib/libXpanel.a
+  ln -sf libXCurses.so $pkgdir/usr/lib/libXpanel.so
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list