summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7cc2ab030214773792a2ab442133dc8a98607253 (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
# Maintainer: Morten Linderud <morten@linderud.pw>

pkgname=archur-git
_pkgname=archur
pkgver=r17.ebbf0d6
pkgrel=1
pkgdesc="Arch linux wallpaper generator"
arch=("any")
url="https://github.com/Foxboron/archur"
license=('MIT')
depends=('python-pillow')
makedepends=('git')
provides=('archur')
conflicts=('archur')
source=("git+https://github.com/Foxboron/archur.git")
sha256sums=('SKIP')

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

package() {
  cd "$_pkgname"
  install -Dm755 archur.py "$pkgdir/usr/bin/archur"
  install -Dm644 text.txt "$pkgdir/usr/share/archur/text.txt"
  install -Dm644 assets/logo.png "$pkgdir/usr/share/archur/assets/logo.png"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}