diff options
author | root <root@rshg054.dnsready.net> | 2013-07-23 01:23:27 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-23 01:23:27 -0700 |
commit | 113b1085958460c3c47be9d93c1b851f60d5d662 (patch) | |
tree | 27457555c3f1cf51a08dd7f25ee63d4303623b1b /extra/nedit | |
parent | 5072cee45a3dc5638ba936dfb4e717bf918b6d06 (diff) |
Tue Jul 23 01:22:55 PDT 2013
Diffstat (limited to 'extra/nedit')
-rw-r--r-- | extra/nedit/PKGBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/extra/nedit/PKGBUILD b/extra/nedit/PKGBUILD index 250d5e2bd..90e40764f 100644 --- a/extra/nedit/PKGBUILD +++ b/extra/nedit/PKGBUILD @@ -1,35 +1,35 @@ -# $Id: PKGBUILD 135019 2011-08-09 21:15:50Z eric $ +# $Id: PKGBUILD 191231 2013-07-21 23:04:03Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=nedit pkgver=5.5 -pkgrel=6 +pkgrel=7 pkgdesc="A Unix text editor for programmers and general users" arch=('i686' 'x86_64') url="http://www.nedit.org/" license=('GPL') depends=('lesstif' 'libxpm') -source=(http://www.nedit.org/ftp/v5_5/${pkgname}-${pkgver}-src.tar.bz2 +source=(http://www.nedit.org/${pkgname}-${pkgver}-src.tar.bz2 nedit_xorg_composite_fix.patch) -md5sums=('48cb3dce52d44988f3a4d7c6f47b6bbe' - 'ae1f56ae9b23163882051720ac52412d') sha1sums=('7d3c87a793a5047cf857af1ac82e39f3b33e8a87' '1f6c75075a6bdc7b0dd8ca89d8117d68af8fc54e') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 < ../nedit_xorg_composite_fix.patch +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 -i "${srcdir}/nedit_xorg_composite_fix.patch" sed -i 's/-Wl,-Bstatic//' makefiles/Makefile.linux sed -i 's|fgets|//fgets|' util/check_lin_tif.c sed -i "s/CFLAGS=-O/CFLAGS=${CFLAGS} -DBUILD_UNTESTED_NEDIT/" makefiles/Makefile.linux sed -i 's|"/bin/csh"|"/bin/sh"|' source/preferences.c +} +build() { + cd ${pkgname}-${pkgver} make linux docs } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - + cd ${pkgname}-${pkgver} install -Dm755 source/nedit "${pkgdir}/usr/bin/nedit" install -Dm755 source/nc "${pkgdir}/usr/bin/nedit-client" install -Dm644 doc/nedit.man "${pkgdir}/usr/share/man/man1/nedit.1" |