Fix uppercase

This commit is contained in:
Manuel 2012-05-20 11:34:07 +00:00
parent 00fcc3f763
commit 595c120953
2 changed files with 44 additions and 0 deletions

31
yagf/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor kote
pkgname=yagf
pkgver=0.9
pkgrel=2
pkgdesc="QT4-based GUI for Cuneiform OCR"
arch=(i686 x86_64)
url="http://symmetrica.net/cuneiform-linux/yagf-en.html"
screenshot="http://symmetrica.net/cuneiform-linux/yagf-en.jpeg"
license=('GPL')
depends=('cuneiform' 'qt>=4.3' 'aspell')
optdepends=('xsane: acquire images from a scanner into YAGF directly')
makedepends=('cmake')
install=yagf.install
source=(http://symmetrica.net/cuneiform-linux/${pkgname}-${pkgver}.tar.gz)
md5sums=('47ddc8dfe9539242073312dcf098fa86')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
[ -d $pkgdir/usr/lib64 ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib || true
}

13
yagf/yagf.install Normal file
View File

@ -0,0 +1,13 @@
post_install() {
[ -x `which update-mime-database` ] && update-mime-database usr/share/mime
[ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
bin/true
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}