pkgname=hyperestraier pkgver=1.4.13 pkgrel=1 pkgdesc='Hyper Estraier' url='https://dbmx.net/hyperestraier/' arch=('i686' 'x86_64') license=('LGPL2.1') depends=('qdbm' 'zlib' 'lzo' 'bzip2') provides=('hyperestraier') conflicts=('hyperestraier') source=("https://dbmx.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") sha256sums=('496f21190fa0e0d8c29da4fd22cf5a2ce0c4a1d0bd34ef70f9ec66ff5fbf63e2') prepare() { cd ${pkgname}-${pkgver} sed -i.rpath -e '/^LDENV/d' `find . -name Makefile.in` } build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ --enable-zlib --enable-lzo --enable-bzip make } package() { cd ${pkgname}-${pkgver} make DESTDIR="$pkgdir" install }