blob: 623eab5abdc4c94f5dfda62aae41faf76e5d2ab3 (
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: Rouven Himmelstein <rouvenhimmelstein@gmail.com>
_gitname=cppsplash
_cmdname=chwp
pkgname=${_gitname}-git
pkgver=0.0.1
pkgrel=1
pkgdesc="Changes the background wallpaper for gnome & cinnamon based desktops from the command line."
arch=('x86_64')
url="https://gitlab.com/rouvenhimmelstein/cppsplash"
license=('GPL3')
depends=('qt5-base')
makedepends=('git' 'cmake' 'qt5-base')
provides=('chwp')
conflicts=('chwp')
source=("https://gitlab.com/rouvenhimmelstein/cppsplash/-/archive/${pkgver}/${_gitname}-${pkgver}.tar.gz")
sha256sums=('SKIP')
prepare() {
mkdir -p $srcdir/$_gitname-${pkgver}/cmake-build-release
}
build() {
cd $srcdir/$_gitname-${pkgver}/cmake-build-release
cmake .. -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd $srcdir/$_gitname-${pkgver}/cmake-build-release
make DESTDIR="$pkgdir" install
cd ${srcdir}/${_gitname}-${pkgver}
install -D -m755 ${_cmdname}.1 ${pkgdir}/usr/share/man/man1/${_cmdname}.1
}
|