diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 13 insertions, 10 deletions
@@ -8,24 +8,27 @@ arch=('i686' 'x86_64') url="https://www.gnu.org/software/libmatheval/" license=('GPL3') depends=('flex') -install=libmatheval.install -source=("http://ftp.gnu.org/gnu/libmatheval/$pkgname-$pkgver.tar.gz" - "removeifndefs.patch") +makedepends=('guile2.0') +source=("https://ftp.gnu.org/gnu/libmatheval/${pkgname}-${pkgver}.tar.gz" + "removeifndefs.patch" + "replace-obsolete-functions.patch") md5sums=('595420ea60f6ddd75623847f46ca45c4' - 'b340ca489388a8c7986654f4be8127f4') + 'b340ca489388a8c7986654f4be8127f4' + '5a58a75ad710d8847be3931944404429') prepare() { - cd "$pkgname-$pkgver" - patch -p1 -i "$srcdir/removeifndefs.patch" + cd "${pkgname}-${pkgver}" + patch -p1 -i "${srcdir}/removeifndefs.patch" + patch -p1 -i "${srcdir}/replace-obsolete-functions.patch" } build() { - cd "$pkgname-$pkgver" - ./configure --prefix=/usr + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr GUILE=/usr/bin/guile2.0 GUILE_CONFIG=/usr/bin/guile-config2.0 make } package() { - cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}/" install } |