manjaro-tools/PKGBUILD

34 lines
1,010 B
Bash
Raw Normal View History

2014-10-06 23:35:01 +02:00
# Maintainer: artoo <flower_of_life@gmx.net>
pkgname=manjaro-tools-git
2014-12-04 19:42:14 +01:00
pkgver=r147.01269bc
2014-10-06 23:35:01 +02:00
pkgrel=1
2014-12-04 19:25:01 +01:00
pkgdesc='Development tools for Manjaro Linux'
2014-10-06 23:35:01 +02:00
arch=('any')
license=('GPL')
url='https://github.com/udeved/manjaro-tools'
2014-12-04 19:42:14 +01:00
depends=('namcap' 'openssh' 'rsync' 'mkinitcpio-nfs-utils' 'nbd'
'libisoburn' 'squashfs-tools' 'syslinux' 'haveged')
2014-10-06 23:35:01 +02:00
makedepends=('git')
2014-12-04 19:25:01 +01:00
optdepends=('qemu: quickly test isos' 'manjaroiso-profiles: Manjaro Linux ISO-Image profiles')
provides=('devtools' 'arch-install-scripts' 'manjaro-tools' 'manjaroiso')
conflicts=('devtools' 'arch-install-scripts' 'manjaro-tools' 'manjaroiso')
2014-10-06 23:35:01 +02:00
backup=('etc/manjaro-tools/manjaro-tools.conf')
2014-11-18 17:52:23 +01:00
source=("git+$url.git#branch=devel")
2014-10-06 23:35:01 +02:00
sha256sums=('SKIP')
pkgver() {
cd ${srcdir}/manjaro-tools
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${srcdir}/manjaro-tools
make SYSCONFDIR=/etc PREFIX=/usr
}
package() {
cd ${srcdir}/manjaro-tools
make SYSCONFDIR=/etc PREFIX=/usr DESTDIR=${pkgdir} install
}