diff options
author | pushsla | 2019-12-15 15:50:05 +0300 |
---|---|---|
committer | pushsla | 2019-12-15 15:50:05 +0300 |
commit | be4f4aaf7080d99747e273f5c8b14c8bd5cdec8b (patch) | |
tree | aa98a080aa48ac227edc5dd7e843f6830888b761 | |
parent | 607f83cd5acbed8ee018308b6784b5e744d6966c (diff) | |
download | aur-be4f4aaf7080d99747e273f5c8b14c8bd5cdec8b.tar.gz |
test
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -26,15 +26,17 @@ md5sums=('SKIP') validpgpkeys=() -build() { +prepare() { + if test ! -h /usr/include/enchant; then + echo "You have to check if enchant1.6 is installed" + echo "And /usr/include/enchant is a symlink to /usr/include/enchant1.6" + echo "ln -s /usr/include/enchant1.6 /usr/include/enchant" + exit 127 + fi - if test ! -h /usr/include/enchant; then - echo "You have to check if enchant1.6 is installed" - echo "And /usr/include/enchant is a symlink to /usr/include/enchant1.6" - echo "ln -s /usr/include/enchant1.6 /usr/include/enchant" - exit 127 - fi +} +build() { cd "$srcdir/xneur-devel/xneur" #./autogen.sh --prefix=/usr/ --sysconfdir=/etc --without-xosd --with-gtk=gtk2 #./configure --prefix=/usr/ --sysconfdir=/etc --without-xosd --with-gtk=gtk2 |