blob: 541c435826190c4d874daa30f874e0f1167c862c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}
|