summaryrefslogtreecommitdiff
path: root/pcr/rencode/PKGBUILD
blob: f9a4ecf4b33412d781ab0222611d6d5f9c96de3d (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
# Contributor (AUR): Bug <bug2000@gmail.com>
# Maintainer (AUR): Bug <bug2000@gmail.com>

# parabola changes and rationale:
#  no changes

pkgname=rencode
pkgver=1.0.5
pkgrel=1
pkgdesc="Module similar to bencode from the BitTorrent project"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/aresch/rencode"
license=('GPL3')
conflicts=('xpra-winswitch<=0.17.4' 'xpra-winswitch-svn<=13296')
depends=('python2')
makedepends=('cython2')
source=("https://github.com/aresch/rencode/archive/v$pkgver.tar.gz")
md5sums=('3bdbec5c50d845e5367ba53c5b85d1a4')

build() {
  cd "$pkgname-$pkgver"
  python2 setup.py build || return 1
}

package() {
  cd "$pkgname-$pkgver"
  python2 setup.py install --root=${pkgdir} || return 1
}

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