summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5ae7f3218ee345339232f8852609920e4d052654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: dryes <joswiseman@cock.li>
pkgname='catdy-git'
pkgver=1
pkgrel=1
pkgdesc='for determining categories of given scene directories or dirnames.'
url='https://github.com/dryes/catdy'
arch=('any')
license=('MIT')
depends=('python')
makedepends=('git')
source=('git://github.com/dryes/catdy.git')
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  echo $(git rev-list --count master)
}

package() {
  mkdir -p "${pkgdir}/usr/bin"
  install -D -m755 "${srcdir}/catdy/catdy.py" "${pkgdir}/usr/bin/catdy"
}