summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c967fb34fe2a93febb42cedea04cce78453d8550 (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=2
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://anongit.kde.org/scratch/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
}