summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ef57e260b88b0cefea55708f146b35574a8d9399 (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
pkgname='plasma-wallpaper-asciiquarium-git'
pkgver=r33.4d6e48a
pkgrel=3
pkgdesc='Plasma Wallpaper Asciiquarium'
arch=('any')
url='https://cgit.kde.org/scratch/mpyne/plasma_wallpaper_asciiquarium.git/about/'
license=('GPL')
depends=('plasma-workspace')
makedepends=('cmake' 'extra-cmake-modules' 'git')
provides=("${pkgname}")
source=("git+https://invent.kde.org/mpyne/plasma_wallpaper_asciiquarium.git")
md5sums=('SKIP')

pkgver() {
  cd "plasma_wallpaper_asciiquarium"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/plasma_wallpaper_asciiquarium"
    cmake -DCMAKE_INSTALL_PREFIX=/usr
    make
}

package() {
    cd "$srcdir/plasma_wallpaper_asciiquarium"
    make DESTDIR="$pkgdir/" install
}