diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/screenkey/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/screenkey/PKGBUILD b/pcr/screenkey/PKGBUILD new file mode 100644 index 000000000..d057a6a6e --- /dev/null +++ b/pcr/screenkey/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: David P. <megver83@openmailbox.org> +# Contributor: Adria Arrufat <swiftscythe @t gmail d@t com> +# Contributor: Gordin <9ordin @t gmail d@t com> + +pkgname=screenkey +pkgver=0.9 +pkgrel=1 +pkgdesc="Screencast tool to show your keys inspired by Screenflick, based on key-mon. Active fork with new features." +arch=('any') +url="https://github.com/wavexx/screenkey" +license=('GPL3') +depends=('python2' 'pygtk' 'libx11') +optdepends=('slop') +makedepends=('python2-distutils-extra' 'python2-setuptools') +source=("https://github.com/wavexx/$pkgname/archive/$pkgname-$pkgver.tar.gz") +sha256sums=('20f0b5415906cfb5cf41ca4f61c4ca22d4a13413aed87980d4d1a03dc92e7157') + +prepare() { + cd "$srcdir/$pkgname-$pkgname-$pkgver" + sed -i 's/-git//g' setup.py +} + + +build() { + cd "$srcdir/$pkgname-$pkgname-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/$pkgname-$pkgname-$pkgver" + python2 setup.py install --skip-build --optimize=1 --root="$pkgdir/" +} + +# vim:set ts=2 sw=2 et: |