summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 451f86084d1404ed9e73f0fa2352033699f6c002 (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
# Maintainer: Jonne Haß <me@jhass.eu>
pkgname=arnie-git
pkgver=r6.aba5b75
pkgrel=2
pkgdesc="ZNC plugin to make bridged IRC channels appear more natural"
arch=('any')
url="https://github.com/LukeMoll/arnie"
license=('BSD')
depends=('znc' 'python')
makedepends=('git')
provides=('arnie')
replaces=('arnie')
source=("git+https://github.com/LukeMoll/arnie.git")

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

package() {
  cd "${pkgname/-git/}"
  install -Dm644 arnie.py "$pkgdir/usr/lib/znc/arnie.py"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha256sums=('SKIP')