pkgbuilds/python2-dispass/PKGBUILD

34 lines
934 B
Text
Raw Normal View History

2012-06-23 12:19:49 +02:00
# Maintainer: Tom Willemsen <tom@ryuslash.org>
2012-06-23 18:54:58 +02:00
python=python2
name=DisPass
pkgname=$python-dispass
2015-06-22 01:54:52 +02:00
pkgver=0.2.0
pkgrel=1
2012-06-23 12:19:49 +02:00
pkgdesc="Generate and disperse/dispell passwords"
depends=('python2')
makedepends=('python2-distribute')
arch=('any')
2012-06-23 18:54:58 +02:00
source=(http://pypi.python.org/packages/source/D/DisPass/$name-$pkgver.tar.gz)
2015-06-22 01:54:52 +02:00
md5sums=('7cd80e7130f0228b8bf446b544e7ceca')
2012-06-23 18:54:58 +02:00
url="http://dispass.babab.nl/"
license=("custom:ISC")
2012-06-23 12:19:49 +02:00
build() {
2012-06-23 18:54:58 +02:00
cd $srcdir/$name-$pkgver
2012-06-23 12:19:49 +02:00
python2 setup.py build || return 1
}
package() {
2012-06-23 18:54:58 +02:00
cd $srcdir/$name-$pkgver
2012-06-23 12:19:49 +02:00
python2 setup.py install --root=$pkgdir
2012-06-23 18:54:58 +02:00
install -Dm644 "${srcdir}/${name}-${pkgver}/dispass.1" \
"${pkgdir}/usr/share/man/man1/dispass.1"
install -Dm644 "${srcdir}/${name}-${pkgver}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${srcdir}/${name}-${pkgver}/README.rst" \
"${pkgdir}/usr/share/doc/${pkgname}/README.rst"
2012-06-23 12:19:49 +02:00
}