Page MenuHomePhabricator

No OneTemporary

diff --git a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,37 @@
-pkgname=lt_presentation
-pkgver=1.0
+pkgname=lt_presentation-hg
+pkgver=r5.4735eea7ea00
pkgrel=1
pkgdesc="A presentation tool for Logitech Presenters"
arch=(any)
depends=('python' 'python-evdev' 'python-pyqt4')
-source=(lt_presentation.tar.gz)
+makedepends=('mercurial')
+source=('lt_presentation-hg::hg+https://www.aboehler.at/hg/lt_presentation/')
url="http://www.aboehler.at/"
+provides=('lt_presentation')
+conflicts=('lt_presentation')
license=("GPL")
sha256sums=(SKIP)
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
+}
+
build() {
cd ${pkgname}
msg "Nothing to be done"
}
package() {
mkdir -p "${pkgdir}"/usr/bin
mkdir -p "${pkgdir}"/usr/share/applications
mkdir -p "${pkgdir}"/usr/lib/udev/rules.d
mkdir -p "${pkgdir}"/usr/share/icons
- mkdir -p "${pkgdir}"/etc/xdg/autostart
cd ${pkgname}
install -m755 lt_presentation.py "${pkgdir}"/usr/bin/lt_presentation
install -m644 lt_presentation.png "${pkgdir}"/usr/share/icons
install -m644 lt_presentation.desktop "${pkgdir}"/usr/share/applications
- install -m644 autostart_lt_presentation.desktop "${pkgdir}"/etc/xdg/autostart/lt_presentation.desktop
install -m644 12-logitech-usb.rules "${pkgdir}"/usr/lib/udev/rules.d
}
# vim:set ts=2 sw=2 et:

File Metadata

Mime Type
text/x-diff
Expires
Thu, Dec 5, 5:49 PM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
532473
Default Alt Text
(1 KB)

Event Timeline