summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4eb8609a178dcc3ecb9505f3e13d77244c3cfff (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
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>

pkgname=unworkable
pkgver=0.53
pkgrel=2
pkgdesc="A BitTorrent client aiming for efficiency, simplicity and high code quality"
arch=('i686' 'x86_64')
url="http://code.google.com/p/unworkable/"
license=('BSD')
depends=('openssl' 'libevent')
makedepends=('scons' 'bison')
source=(http://unworkable.googlecode.com/files/$pkgname-$pkgver.tar.gz)
sha256sums=('80640df2319c128c2bf35f2279fb099985bd8c269808e97b5b0d420f38af6a34')

build() {
  cd $pkgname

  scons
}

package() {
  cd $pkgname

  install -D -m755 $pkgname "${pkgdir}"/usr/bin/$pkgname
  install -D -m644 $pkgname.1 "${pkgdir}"/usr/share/man/man1/$pkgname.1

# License
  install -d "${pkgdir}"/usr/share/licenses/$pkgname
  sed '2,16p;d' main.c > "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}