diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /extra/ocrad | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'extra/ocrad')
-rw-r--r-- | extra/ocrad/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/ocrad/ocrad.install | 20 |
2 files changed, 0 insertions, 51 deletions
diff --git a/extra/ocrad/PKGBUILD b/extra/ocrad/PKGBUILD deleted file mode 100644 index 90456409a..000000000 --- a/extra/ocrad/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# $Id: PKGBUILD 190021 2013-07-12 22:00:10Z giovanni $ -# Maintainer: Giovanni Scafora <giovanni@archlinux.org> - -pkgname=ocrad -pkgver=0.22 -pkgrel=1 -pkgdesc="An Optical Character Recognition program" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/ocrad/ocrad.html" -license=('GPL3') -depends=('gcc-libs' 'texinfo') -install=ocrad.install -source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.lz") -md5sums=('e84f0fb0dcd9b7b067201f9a3b89e06c') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./configure --prefix=/usr \ - CXXFLAGS="${CXXFLAGS}" \ - LDFLAGS="${LDFLAGS}" - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" install install-man - rm $pkgdir/usr/share/info/dir - gzip $pkgdir/usr/share/info/* -} diff --git a/extra/ocrad/ocrad.install b/extra/ocrad/ocrad.install deleted file mode 100644 index eb599d04e..000000000 --- a/extra/ocrad/ocrad.install +++ /dev/null @@ -1,20 +0,0 @@ -infodir=/usr/share/info -filelist=(ocrad.info.gz) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} |