blob: e6a55ebe4d9e76fed58138df3aa534aaf112c8c2 (
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
31
32
33
34
35
|
pkgname=shadowsocksr-libev
pkgver=4.3.1
pkgrel=1
pkgdesc='A Shadowsocks branches'
arch=('i686' 'x86_64')
url='https://github.com/shadowsocksr/shadowsocksr-libev'
license=('GPL')
conflicts=('shadowsocks-libev')
depends=('libcap' 'mbedtls' 'libev' 'libsodium'
'udns' 'pcre' 'libcorkipset' 'libbloom')
makedepends=('git' 'asciidoc' 'binutils' 'gcc' 'libtool' 'autoconf' 'automake' 'bison' 'fakeroot' 'flex' 'openssl' 'make')
options=('docs' '!strip')
source=('git+https://github.com/shadowsocksr/shadowsocksr-libev.git')
sha1sums=('SKIP')
_gitname='shadowsocksr-libev'
pkgver() {
cd "$_gitname"
git describe --tags | sed 's/-/./g'
}
build() {
cd "$_gitname"
./configure && make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir/" install
}
|