blob: 38be6a5d138c31ac3e6394109c4432f19c707e79 (
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
|
# Maintainer: Nicholas Boyd Isacsson <nicholas@isacsson.se>
pkgname=xdg-ninja-git
_pkgname=xdg-ninja
pkgver=r560.cb09ebd
pkgrel=1
pkgdesc='A shell script which checks your $HOME for unwanted files and directories.'
arch=('any')
url="https://github.com/b3nj5m1n/${_pkgname}"
license=('MIT')
depends=('jq')
makedepends=('git')
optdepends=(
'glow: rendering markdown in the terminal'
)
provides=('xdg-ninja')
conflicts=('xdg-ninja')
source=(git+$url)
md5sums=(SKIP)
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$_pkgname"
DESTDIR="$pkgdir" PREFIX="/usr" make install
}
|