# Maintainer: Joshua Haase # Contributor: fauno pkgbase=libretools pkgname=(libretools libretools-mips64el) pkgver=20121209 pkgdesc="Programs for Parabola development" url="https://projects.parabolagnulinux.org/libretools.git/" license=('GPL3+' 'GPL2') pkgrel=1 arch=('any') groups=(base-devel) depends=(openssh rsync git wget 'chroottools>=20121202' tokyocabinet) source=(https://projects.parabolagnulinux.org/$pkgbase.git/snapshot/$pkgbase-$pkgver.tar) build() { cd "$srcdir/$pkgbase-$pkgver" make } package_libretools() { backup=(etc/libretools.conf) install=libretools.install cd "$srcdir/$pkgbase-$pkgver" make install-libretools DESTDIR="$pkgdir" install -Dm755 rePKGBUILD.proto ${pkgdir}/usr/share/pacman/rePKGBUILD.proto } package_libretools-mips64el() { pkgdesc="Scripts for Parabola development (for mips64el architecture)" backup=('etc/libretools.d/mips64el.conf') cd "$srcdir/$pkgbase-$pkgver" make install-libretools-mips64el DESTDIR="$pkgdir" } md5sums=('0a9bea328886b7745a513fa322f16d88')