summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 730970c39340ceb992b39fb151ed349145352ab7 (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: Axel Juraske <moin@axju.de>
pkgname=axju-backgrounds
pkgver=r1.251a09c
pkgrel=1
epoch=
pkgdesc="A collection of wallpapers for axju-os."
arch=('x86_64')
url="https://github.com/axju/axju-os.git"
license=('MIT')
groups=()
depends=()
makedepends=(git)
checkdepends=()
optdepends=()
provides=(axju-backgrounds)
conflicts=()
replaces=()
backup=()
options=()
changelog=
source=("git+$url")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

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

package() {
    cd axju-os/src/backgrounds
    mkdir -p ${pkgdir}/usr/share/backgrounds/${pkgname}
    cp -rf * ${pkgdir}/usr/share/backgrounds/${pkgname}
    #install -Dm644 README.org "${pkgdir}/usr/share/doc/${pkgname}/README.org"
}