summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD36
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4c0f9447a78
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = sandsmark-xdg-autostart-launcher-git
+ pkgdesc = Minimalistic (315 lines of code, no dependencies) XDG compliant autostart launcher
+ pkgver = 10.f5b5758
+ pkgrel = 1
+ url = https://github.com/sandsmark/xdg-autostart-launcher
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = cmake
+ depends = gcc-libs
+ provides = sandsmark-xdg-autostart-launcher
+ provides = xdg-autostart-launcher
+ conflicts = sandsmark-xdg-autostart-launcher
+ conflicts = xdg-autostart-launcher
+ source = git+https://github.com/sandsmark/xdg-autostart-launcher.git
+ md5sums = SKIP
+
+pkgname = sandsmark-xdg-autostart-launcher-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..541c4358261
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>
+
+pkgname=sandsmark-xdg-autostart-launcher-git
+pkgver=10.f5b5758
+pkgrel=1
+pkgdesc="Minimalistic (315 lines of code, no dependencies) XDG compliant autostart launcher"
+arch=(i686 x86_64)
+url="https://github.com/sandsmark/xdg-autostart-launcher"
+license=(GPL3)
+depends=(gcc-libs)
+makedepends=(git cmake)
+provides=(sandsmark-xdg-autostart-launcher xdg-autostart-launcher)
+conflicts=(sandsmark-xdg-autostart-launcher xdg-autostart-launcher)
+source=('git+https://github.com/sandsmark/xdg-autostart-launcher.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd xdg-autostart-launcher
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../xdg-autostart-launcher \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}