summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 12ad0816a70692ffbd7fb76c67ca5ea204c5a0a6 (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
# Maintainer: Dusan Baran <work.dusanbaran@gmail.com>

_pkgname=litify
pkgname=litify-git
pkgver=96590e0
pkgrel=1
pkgdesc="LITify git"
arch=('any')
url="https://github.com/dudoslav/${_pkgname}"
license=('GPL3')
depends=('git'
	 'pacman')
optdepends=('noto-fonts-emoji'
	    'unicode-emoji')
source=("git+https://github.com/dudoslav/${_pkgname}.git")
sha256sums=('SKIP')

pkgver() {
    cd "$_pkgname"
    git describe --always | sed -e 's|-|.|g'
}

package() {
    cd "$srcdir/$_pkgname"
    install -m 755 -D "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
    install -m 644 -D 'lit' "$pkgdir/etc/lit"
}