summaryrefslogtreecommitdiff
path: root/pcr/dratmenu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/dratmenu/PKGBUILD')
-rw-r--r--pcr/dratmenu/PKGBUILD36
1 files changed, 0 insertions, 36 deletions
diff --git a/pcr/dratmenu/PKGBUILD b/pcr/dratmenu/PKGBUILD
deleted file mode 100644
index 8d6a2b357..000000000
--- a/pcr/dratmenu/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# Contributor: ivoarch <ivkuzev@gmail.com>
-# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@replicant.io>
-
-pkgname=dratmenu
-pkgver=20121218
-pkgrel=1
-pkgdesc="ratpoison window dmenu"
-arch=('any')
-url="https://github.com/dimatura/dratmenu.git"
-license=('GPL')
-depends=('dmenu' 'python2')
-makedepends=('git')
-
-_gitroot="https://github.com/dimatura/dratmenu.git"
-_gitname="master"
-
-build() {
- cd $srcdir
-
- if [ -d $srcdir/$pkgname ] ; then
- msg "update git"
- cd $pkgname && git pull origin
- else
- msg "clone git"
- git clone $_gitroot
- fi
-}
-
-package() {
- mkdir -p $pkgdir/usr/lib/python2.7/site-packages
- cp -r $srcdir/$pkgname $pkgdir/usr/lib/python2.7/site-packages
- mkdir -p $pkgdir/usr/bin
- echo "#!/bin/bash
- python2 /usr/lib/python2.7/site-packages/$pkgname/dratmenu.py" > $pkgdir/usr/bin/dratmenu
- chmod +x $pkgdir/usr/bin/dratmenu
-}