diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-12-02 13:37:59 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-12-02 13:37:59 -0300 |
commit | 3383a1fbd954b78716dd8ff9d9f2097e176d2279 (patch) | |
tree | 68aa3acbd50e6d0d7bdcfa2947d1772f7edb8a0d /extra/manedit | |
parent | 7f3d7e2203a9252280361a1d095528cb056d08dc (diff) | |
parent | 9e9ab642711f2424f828e21d14b98c45cdef2b29 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/packagekit/PKGBUILD
community/liboglappth/PKGBUILD
community/texvc/PKGBUILD
extra/libvdpau/PKGBUILD
extra/minicom/PKGBUILD
extra/muparser/PKGBUILD
extra/netkit-bsd-finger/PKGBUILD
extra/normalize/PKGBUILD
Diffstat (limited to 'extra/manedit')
-rw-r--r-- | extra/manedit/PKGBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/extra/manedit/PKGBUILD b/extra/manedit/PKGBUILD index 194b4d474..fdd755c8f 100644 --- a/extra/manedit/PKGBUILD +++ b/extra/manedit/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 59169 2009-11-20 17:44:19Z giovanni $ +# $Id: PKGBUILD 143901 2011-11-30 20:13:10Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=manedit pkgver=1.2.1 -pkgrel=3 +pkgrel=4 pkgdesc="An editor specifically tailored for UNIX manual pages" arch=('i686' 'x86_64' 'mips64el') license=('GPL') -url="http://www.battlefieldlinux.com/wolfpack/ManEdit/" +url="http://freecode.com/projects/manedit" depends=('gcc-libs' 'bzip2' 'zlib' 'gtk') -source=(http://wolfsinger.com/~wolfpack/packages/${pkgname}-${pkgver}.tar.bz2 - manedit-1.2.1-fix-man-page.patch - manedit.desktop) +source=("http://wolfsinger.com/~wolfpack/packages/${pkgname}-${pkgver}.tar.bz2" + 'manedit-1.2.1-fix-man-page.patch' + 'manedit.desktop') md5sums=('a7ee1835e32ed3c9279412af7caf13ef' '60cb0c224a6659f8a8183006608f368b' 'bac6986fc25dda6f0e27e3673eef4600') @@ -21,7 +21,7 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" # Patch to fix generate man page - patch -Np1 -i ${srcdir}/manedit-1.2.1-fix-man-page.patch || return 1 + patch -Np1 -i ${srcdir}/manedit-1.2.1-fix-man-page.patch env CFLAGS="${CFLAGS}" \ ./configure Linux \ @@ -35,7 +35,11 @@ build() { --disable="arch-i686" \ --disable="arch-pentiumpro" - make all || return 1 + make all +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" # Fix strip error (tries to strip a shell script) cp manedit/Makefile.install.UNIX{,.orig} @@ -45,7 +49,7 @@ build() { # Set man dir too or FHS is violated make PREFIX="${pkgdir}/usr" \ MAN_DIR="${pkgdir}/usr/share/man/man1" \ - ICONS_DIR="${pkgdir}/usr/share/pixmaps" install || return 1 + ICONS_DIR="${pkgdir}/usr/share/pixmaps" install # Install desktop file install -Dm644 ${srcdir}/manedit.desktop "${pkgdir}/usr/share/applications/manedit.desktop" |