blob: f03d9d521aaea428afdfa254e2bbf9c6c8caafa4 (
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
37
|
# Maintainer: Noa Aarts <itepastra@gmail.com>
pkgname=automapaper-git
pkgver=r.
pkgrel=1
pkgdesc="based GLSL wallpaper that can run automatons using shaders for WLRoots compositors"
arch=('x86_64')
url="https://github.com/itepastra/automapaper"
license=('GPL-3.0-or-later')
groups=()
depends=('wayland' 'libegl' 'glibc')
makedepends=('git' 'meson' 'ninja')
provides=("automapaper")
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$name"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
# clean existing sources if any
rm -rf "$srcdir/automapaper"
git clone --single-branch $url.git
}
build() {
cd "$srcdir/automapaper"
meson setup build --prefix=/usr
ninja -C build
}
package() {
cd "$srcdir/automapaper"
DESTDIR="$pkgdir" ninja -C build install
}
|