blob: 17698b9859713bd377e8d4b73d53690c50297ca0 (
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
|
# Maintainer: zhuangzhuang <xufengyuan20080802@outlook.com>
pkgname=piscesys-wallpapers-git
_pkgname=piscesys-wallpapers
pkgver=0.9
pkgrel=1
pkgdesc="piscesys's system wallpaper"
arch=('any')
url="https://gitlab.com/piscesys/wallpapers"
license=('GPL')
depends=()
provides=("$_pkgname")
conflicts=("$_pkgname")
makedepends=('cmake' 'git')
source=("git+$url.git")
sha512sums=('SKIP')
pkgver() {
cd wallpapers
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd wallpapers
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd wallpapers
DESTDIR="$pkgdir" make install
}
|