summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e75b4774f723cc0c609a43b89d467f012951da4f (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
# Maintainer: Evan M Jones <evanjones4040@gmail.com>
pkgname=dlof
pkgver=1
pkgrel=1
epoch=1
pkgdesc="A dead simple unfolder -- opposite of fold."
arch=('any')
url="https://github.com/mini-eggs/${pkgname}"
license=('MIT')
provides=($pkgname)
conflicts=($pkgname)
makedepends=('git' 'gcc')
source=("git+https://github.com/mini-eggs/dlof.git")
md5sums=('SKIP')

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

package() {
  cd $pkgname
  make 
  install -D -m644 license.txt "$pkgdir/usr/share/licenses/dlof/LICENSE"
  install -D -m755 dlof "$pkgdir/usr/bin/$pkgname"
}