Commit 8c22a991 authored by Seblu's avatar Seblu

Add a PKGBUILD

This allow to build/install/test easily a devtools-git package
parent 69996037
# $Id: PKGBUILD 171027 2012-11-15 13:47:06Z pierre $
# Maintainer:
pkgname=devtools-git
pkgver=$(date +%Y%m%d)
pkgrel=1
pkgdesc='Tools for Arch Linux package maintainers'
arch=('any')
license=('GPL')
url='http://projects.archlinux.org/devtools.git/'
depends=('namcap' 'openssh' 'subversion' 'rsync' 'arch-install-scripts')
conflicts=(devtools)
provides=(devtools)
install=$pkgname.install
build() {
cd "$startdir"
make clean
make PREFIX=/usr
}
package() {
cd "$startdir"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm 644 <(echo g devtools - -) "$pkgdir/usr/lib/sysusers.d/devtools-git.conf"
}
# Arg 1: the new package version
post_install() {
systemd-sysusers devtools-git.conf
}
# vim:set ts=2 sw=2 et:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment