summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 068bdccf7b10095e3065411bd5ca103f44dac6d1 (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
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Nathan Owe. ndowens04 at gmail dot com

pkgname=buildtorrent
pkgver=0.8
pkgrel=1
pkgdesc="A simple commandline torrent creator"
arch=('i686' 'x86_64')
url="http://mathr.co.uk/blog/torrent.html"
license=('GPL')
depends=('glibc')
source=(http://mathr.co.uk/blog/code/$pkgname-$pkgver.tar.gz)
sha256sums=('e8e27647bdb38873ac570d46c1a9689a92b01bb67f59089d1cdd08784f7052d0')

build() {
  cd "${srcdir}"/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver

  make DESTDIR="${pkgdir}" install
}