[arch-commits] Commit in (6 files)

Alexander Rødseth arodseth at archlinux.org
Sat Apr 30 11:31:32 UTC 2016


    Date: Saturday, April 30, 2016 @ 13:31:32
  Author: arodseth
Revision: 173121

Move pdcurses from AUR

Added:
  pdcurses/
  pdcurses/repos/
  pdcurses/repos/community-i686/
  pdcurses/repos/community-x86_64/
  pdcurses/trunk/
  pdcurses/trunk/PKGBUILD

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

Added: pdcurses/trunk/PKGBUILD
===================================================================
--- pdcurses/trunk/PKGBUILD	                        (rev 0)
+++ pdcurses/trunk/PKGBUILD	2016-04-30 11:31:32 UTC (rev 173121)
@@ -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=7
+pkgdesc='Cross-platform (DOS, OS/2, Win32, X11 and SDL) curses implementation'
+arch=('x86_64' 'i686')
+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