summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb9f5b22d4296b4d56e130c23e178937dd2f6609 (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
# Maintainer: somini <dev@somini.xyz>
pkgname=xdg-autostart
pkgver=1.3.1
_pkgver="v$pkgver"
pkgrel=1
pkgdesc="Autostart programs according to the XDG specification"
arch=('x86_64')
url="https://gitlab.com/somini/xdg-autostart"
license=('GPL3')
makedepends=('vala' 'meson')
provides=('xdg-autostart')
conflicts=('xdg-autostart-hg')
source=("$pkgname-$_pkgver.tar.gz::https://gitlab.com/somini/xdg-autostart/-/archive/$_pkgver/xdg-autostart-$_pkgver.tar.gz")
sha256sums=('ea054cdba0b8fcaee36658f1199a9ba7ba97328d38276d99f9c3c5b086a6cf53')

build() {
	cd "$srcdir/$pkgname-$_pkgver"
	arch-meson build
	ninja -C build
}
package() {
	cd "$srcdir/$pkgname-$_pkgver"
	install -Dm755 build/xdg-autostart -t "$pkgdir/usr/bin/"
}