summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25b119e3d888619af9760312cd0646c916230b41 (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
33
34
35
36
37
# Maintainer: Nathan Monfils <nathan.monfils@hotmail.fr>
pkgname=tmm-git
pkgver=1538281367
pkgrel=1
pkgdesc="A simple console based mod manager for Linux."
arch=('any')
url="https://github.com/9d8/tmm"
license=('GPL')
depends=()
makedepends=('git')
provides=('tmm-git')
conflicts=('tmm')
replaces=()
options=()
install=
source=("${pkgname}::git+https://github.com/9d8/tmm.git")
noextract=()
md5sums=('SKIP')

build() {
  rm -rf "$srcdir/$pkgname-build"
  git clone "$srcdir/$pkgname" "$srcdir/$pkgname-build"
  cd "$srcdir/$pkgname-build"

  make
}

package() {
  install -Dm755 "$srcdir/$pkgname-build/build/tmm" "$pkgdir/usr/bin/tmm"
}

pkgver() {
  cd "$srcdir/$pkgname"
  git log -1 --format=%cd --date=unix
}

# vim:set ts=2 sw=2 et: