summaryrefslogtreecommitdiff
path: root/libre/libretools/PKGBUILD
blob: 815f28b9623abfeadc91cfc675083988adb362a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Joshua Haase <hahj87@gmail.com
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Márcio Silva <coadde@lavabit.com>

pkgbase=libretools
pkgname=(libretools libretools-mips64el)
pkgver=20130117
pkgdesc="Programs for Parabola development"
url="https://projects.parabolagnulinux.org/libretools.git/"
license=('GPL3+' 'GPL2')

pkgrel=4
arch=('any')
groups=(base-devel)
depends=(openssh rsync git wget tokyocabinet)
conflicts=(chroottools devtools libretools-legacy)
source=(https://projects.parabolagnulinux.org/$pkgbase.git/snapshot/$pkgbase-$pkgver.tar)

build() {
  cd "$srcdir/$pkgbase-$pkgver"
  make
}

package_libretools() {
  backup=(etc/libretools.conf etc/libretools.d/chroot.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=('77dcfb2fbf5b8a9894a13c5e6151b693')