updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cdtemp-hg / PKGBUILD
blobc5f35d4f249d32b189d0bb78efadc3761896c58b
1 # Contributor: b4283
3 pkgname=cdtemp-hg
4 pkgver=tip
5 pkgrel=1
6 pkgdesc="A simple and convenient temporary working directory manager."
7 arch=('any')
8 url="http://bitbucket.org/b4283/cdtemp/"
9 license=('GPLv3')
10 depends=()
11 source=()
12 md5sums=()
14 build() {
15         wget 'http://bitbucket.org/b4283/cdtemp/get/tip.tar.bz2'
16         cd "$srcdir"
17         tar xf tip.tar.bz2
19         cd cdtemp
20         make || return 1
21         mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/etc/profile.d"
22         install -m755 cdtemp "${pkgdir}/usr/bin/"
23         install -m755 cdtemp.sh "${pkgdir}/etc/profile.d/"