summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaimar Bühmann2015-06-08 20:16:11 +0200
committerRaimar Bühmann2015-06-08 20:16:11 +0200
commitf8735f966e3fea45464ab4db2c25b971c142018a (patch)
tree6fbb484bf55c50dd04128995aa7fac1e59a196ed
downloadaur-f8735f966e3fea45464ab4db2c25b971c142018a.tar.gz
initial import
-rw-r--r--.SRCINFO36
-rw-r--r--PKGBUILD52
-rw-r--r--lxclipboard-startup.desktop8
3 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..121f628828f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,36 @@
+pkgbase = lxsession-git
+ pkgdesc = Lightweight X11 session manager for LXDE
+ pkgver = 0.5.2.r966.20150208
+ pkgrel = 1
+ epoch = 1
+ url = http://lxde.org/
+ arch = i686
+ arch = x86_64
+ groups = lxde
+ license = GPL2
+ makedepends = pkgconfig
+ makedepends = intltool
+ makedepends = docbook-xml
+ makedepends = docbook-xsl
+ makedepends = vala
+ depends = polkit
+ depends = dbus-glib
+ depends = libunique
+ depends = libkeybinder2
+ provides = lxsession
+ provides = lxsession-edit
+ provides = lxpolkit
+ provides = lxde-settings-daemon
+ provides = lxsession-lite
+ conflicts = lxsession
+ conflicts = lxsession-edit
+ conflicts = lxpolkit
+ conflicts = lxde-settings-daemon
+ conflicts = lxsession-lite
+ source = lxsession-git::git+http://git.lxde.org/git/lxde/lxsession.git
+ source = lxclipboard-startup.desktop
+ sha256sums = SKIP
+ sha256sums = 0c8b776b74da5bb7b126a6bde058318ed84808c50599849ce73ada88db4d58d0
+
+pkgname = lxsession-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e9ad754d74f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,52 @@
+# Maintainer: Raimar Buehmann (raimar)
+
+pkgname=lxsession-git
+pkgver=0.5.2.r966.20150208
+pkgrel=1
+epoch=1
+pkgdesc='Lightweight X11 session manager for LXDE'
+arch=('i686' 'x86_64')
+url="http://lxde.org/"
+license=('GPL2')
+groups=('lxde')
+depends=('polkit' 'dbus-glib' 'libunique' 'libkeybinder2')
+makedepends=('pkgconfig' 'intltool' 'docbook-xml' 'docbook-xsl' 'vala')
+provides=('lxsession' 'lxsession-edit' 'lxpolkit' 'lxde-settings-daemon' 'lxsession-lite')
+conflicts=('lxsession' 'lxsession-edit' 'lxpolkit' 'lxde-settings-daemon' 'lxsession-lite')
+source=(
+ $pkgname::git+http://git.lxde.org/git/lxde/lxsession.git
+# $pkgname::git+git://git.lxde.org/git/lxde/lxsession.git
+ lxclipboard-startup.desktop
+)
+sha256sums=('SKIP'
+ '0c8b776b74da5bb7b126a6bde058318ed84808c50599849ce73ada88db4d58d0')
+
+pkgver() {
+ # remove ".r*.*" from package version
+ _pkgverTriple=$(echo $pkgver | sed "s/\.r.*//g")
+ cd $pkgname
+ # get number of last git commit
+ _commitCount=$(git rev-list --count HEAD)
+ # get time of last git commit
+ _commitTime=$(git show -s --format="%ci" | grep -o "....-..-.." | sed "s/-//g")
+ # add ".r*.*" from package version
+ echo "$_pkgverTriple.r$_commitCount.$_commitTime"
+}
+
+prepare() {
+ cd $pkgname
+ #patch -Np1 -i ../Create-lock-file-to-prevent-more-than-one-logout-dialog.patch
+}
+
+build() {
+ cd $pkgname
+ ./autogen.sh
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-buildin-clipboard --disable-buildin-polkit
+ make
+}
+
+package() {
+ install -Dm644 'lxclipboard-startup.desktop' "${pkgdir}/etc/xdg/autostart/lxclipboard-startup.desktop"
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
diff --git a/lxclipboard-startup.desktop b/lxclipboard-startup.desktop
new file mode 100644
index 00000000000..146c135480f
--- /dev/null
+++ b/lxclipboard-startup.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=LXClipboard autostart
+Comment=LXDE Clipboard Manager Autostart
+Icon=lxclipboard
+Exec=lxclipboard
+Terminal=false
+Type=Application
+X-GNOME-Autostart-enabled=true