blob: 43a02830bf1d5f4fedf22b5f259bd8e12ae4ba31 (
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: Neko_Rikka <yjzyl9008 at gmail dot com>
pkgname=python-cxxtea-git
pkgver=r34.d535b5a
pkgrel=1
pkgdesc="A python package for decrypting data, using a custom XXTEA decryption algorithm implemented in C."
arch=('x86_64')
url="https://github.com/Rin-Wood/cxxtea"
license=('BSD')
provides=('python-cxxtea')
conflicts=('python-cxxtea')
depends=(
'python'
)
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel' 'git')
source=("git+https://github.com/Rin-Wood/cxxtea.git")
md5sums=('SKIP')
pkgver() {
cd cxxtea
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd cxxtea
python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm0644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
}
|