summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af210b39791cc4844289a6d4514cc455267921bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: hitori <hitori.gm at gmail dot com>
pkgname=decrypt-git
pkgver=r28.4f11040
pkgrel=2
pkgdesc="Pipe programs through decrypt to make your boss think you are l33t"
arch=('any')
url="https://github.com/jtwaleson/decrypt"
license=('MIT')
makedepends=('git' 'python-setuptools')
source=('decrypt-git::git://github.com/jtwaleson/decrypt')
sha256sums=('SKIP')

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

package() {
    cd "$pkgname"
    python setup.py install --root="$pkgdir" --optimize=1
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}