[arch-commits] Commit in pdcurses/repos (2 files)
Alexander Rødseth
arodseth at archlinux.org
Sat Apr 30 11:32:19 UTC 2016
Date: Saturday, April 30, 2016 @ 13:32:19
Author: arodseth
Revision: 173122
archrelease: copy trunk to community-x86_64, community-i686
Added:
pdcurses/repos/community-i686/PKGBUILD
(from rev 173121, pdcurses/trunk/PKGBUILD)
pdcurses/repos/community-x86_64/PKGBUILD
(from rev 173121, pdcurses/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: pdcurses/repos/community-i686/PKGBUILD (from rev 173121, pdcurses/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-04-30 11:32:19 UTC (rev 173122)
@@ -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:
Copied: pdcurses/repos/community-x86_64/PKGBUILD (from rev 173121, pdcurses/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-04-30 11:32:19 UTC (rev 173122)
@@ -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