summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9bf9b85f3aca435a8de19d72f6b5d5fd44549a6 (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
# Maintainer: acxz <akashpatel2008 at yahoo dot com>

pkgname=wallshell-git
pkgver=r6.aad7faf
pkgrel=1
pkgdesc="A shell program to fetch images in the terminal."
arch=('any')
url='https://github.com/acxz/wallshell'
license=('GPLv3')
depends=('curl' 'jq' 'imagemagick' 'chafa')
makedepends=('git')
provides=('wallshell')
conflicts=('wallshell')
_pkgname=wallshell
source=("${_pkgname}::git+https://github.com/acxz/wallshell")
sha256sums=('SKIP')

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

build() {
    msg "Nothing to build"
}

package() {
    cd "${srcdir}/${_pkgname}"

    mkdir -p ${pkgdir}/usr/bin
    cp -v bin/wallshell ${pkgdir}/usr/bin
}