summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e76aa0e9c882b510a48c2a5704ba9a4572c2ffa (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: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=tvsm-git
pkgver=r306.64c0f52
pkgrel=1
pkgdesc='A simple command-line TV show manager'
arch=('x86_64')
url='https://github.com/TonCherAmi/tvsm'
license=('LGPL3')
conflicts=('tvsm-git')
options=('!strip')
depends=('guile')
source=("${pkgname%-git}::git+https://github.com/TonCherAmi/tvsm")
sha256sums=('SKIP')

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

build() {
  cd "${pkgname%-git}"
  make
}

package() {
  cd "${pkgname%-git}"
  make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et: