nix-tools/PKGBUILD
2014-11-26 17:49:02 +01:00

31 lines
795 B
Bash

# Maintainer: artoo <flower_of_life@gmx.net>
pkgname=manjaro-tools-git
pkgver=r136.90c0fc1
pkgrel=1
pkgdesc='Tools for Manjaro Linux'
arch=('any')
license=('GPL')
url='https://github.com/udeved/manjaro-tools'
depends=('namcap' 'openssh' 'rsync')
makedepends=('git')
provides=('devtools' 'arch-install-scripts' 'manjaro-tools')
conflicts=('devtools' 'arch-install-scripts' 'manjaro-tools')
backup=('etc/manjaro-tools/manjaro-tools.conf')
source=("git+$url.git#branch=devel")
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
}