summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d7984e97a6754afe54f63583a885411a9741a91 (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
# Maintainer: nblock <nblock [/at\] archlinux DOT us>
# Contributor: pfleidi

pkgname=createtorrent
pkgver=1.1.4
pkgrel=6
pkgdesc="A small and fast command line utility for all Linux and Unix operating systems to create BitTorrent files easily."
url="https://createtorrent.sourceforge.net"
arch=('i686' 'x86_64')
license=('GPL')
depends=('openssl')
source=(https://distfiles.macports.org/createtorrent/$pkgname-$pkgver.tar.gz)
md5sums=('922b18eeec74ea81f22a3392e2680307')
sha1sums=('f96fec9b8e1daa06d180f985f58b6d57a05d262d')

build() {
   cd $srcdir/$pkgname-$pkgver
   LDFLAGS="-lssl -lcrypto -ldl -lz" ./configure --prefix=/usr
   make
}

package() {
   cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$pkgdir install
}

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