yagf: switch to pacman hooks #75

This commit is contained in:
Francesco Marinucci 2018-12-30 18:41:09 +01:00
parent d30ac29124
commit 9bd8c9cb98
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
pkgname=yagf
pkgver=0.9.5
pkgrel=1
pkgrel=2
pkgdesc="Qt4-based GUI for Cuneiform OCR"
arch=('x86_64')
url="http://sourceforge.net/projects/yagf-ocr/"
@ -31,4 +31,4 @@ package() {
cd `find ${srcdir}/ -type d -name "${pkgname}*"`
make DESTDIR=${pkgdir} install
[ -d $pkgdir/usr/lib64 ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib || true
}
}

View File

@ -1,6 +1,5 @@
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
}