desktop/packer/PKGBUILD
2010-09-27 16:39:07 +02:00

40 lines
1.2 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=packer
pkgver=20100927
pkgrel=1
pkgdesc="Bash wrapper for pacman and aur"
url="http://github.com/bruenig/packer"
license="GPL"
arch=('any')
makedepends=('git')
depends=('grep' 'sed' 'coreutils' 'bash' 'wget' 'pacman')
optdepends=('sudo: install and update packages as non-root'
'pacman-color: colorized output'
'base-devel: for building packages')
source=(http://chakra-project.org/sources/packer/packer-$pkgver-$pkgrel.tar.xz)
md5sums=(1e07a9dfa6b9b109efe5a8651f98f976)
# source PKGBUILD && _create-tarball
_create-tarball() {
mkdir -p "packer"
git clone git://github.com/bruenig/packer.git "packer"
tar -cJf packer-$pkgver-$pkgrel.tar.xz "packer"
md5sum "packer-$pkgver-$pkgrel.tar.xz"
rm -rf "packer"
}
build() {
cd "$startdir/src/packer"
install -m 755 -D packer "$startdir/pkg/usr/bin/packer"
install -m 644 -D packer.8 "$startdir/pkg/usr/share/man/man8/packer.8"
}