summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-11-08 21:50:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-11-08 21:50:53 -0300
commit19c6789120d4d646174968123c1b407687a88a7b (patch)
treea6ea45050d9ac5e5bf8f556e57862308af44d6e5 /pcr
parentd34d74ae035bd310e728dbaee8b4d090928cfed4 (diff)
pybristol: add new package to [pcr] -> https://labs.parabola.nu/issues/843
Diffstat (limited to 'pcr')
-rw-r--r--pcr/pybristol/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/pybristol/PKGBUILD b/pcr/pybristol/PKGBUILD
new file mode 100644
index 000000000..5fb6783a6
--- /dev/null
+++ b/pcr/pybristol/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer (Arch): adorableGNU <adorablegnu@hushmail.com>
+pkgname=pybristol
+pkgver=1.0.33
+pkgrel=1
+pkgdesc='GUI for bristol, based on python3 and tkinter'
+arch=('any')
+url="https://github.com/adorableGNU/pyBristol"
+depends=('python' 'bristol' 'tk')
+makedepends=('git')
+license=('GPL3')
+source=(git+https://github.com/adorableGNU/pyBristol.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd pyBristol
+ echo ${pkgver%.*}.$(git rev-list --count HEAD)
+}
+
+package() {
+ mkdir -p $pkgdir/opt/pyBristol
+ cp -R $srcdir/pyBristol/gif $pkgdir/opt/pyBristol/
+ cp -R $srcdir/pyBristol/doc $pkgdir/opt/pyBristol/
+ cp -R $srcdir/pyBristol/icon $pkgdir/opt/pyBristol/
+ cp $srcdir/pyBristol/default.conf $pkgdir/opt/pyBristol/
+ install -D -m755 $srcdir/pyBristol/pyBristol.py $pkgdir/opt/pyBristol/pyBristol.py
+ install -D -m755 $srcdir/pyBristol/pyBristol $pkgdir/usr/bin/pyBristol
+ install -D -m644 $srcdir/pyBristol/pyBristol.desktop $pkgdir/usr/share/applications/pyBristol.desktop
+ install -D -m644 $srcdir/pyBristol/icon/pyBristol.svg $pkgdir/usr/share/pixmaps/pyBristol.svg
+ install -D -m644 $srcdir/pyBristol/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}