You are not logged in.
Pages: 1
I am using the library RakNet for a programming project I am working on, and since it isn't in AUR I thought I'd make a PKGBUILD. This is my first PKGBUILD so I'd thought I'd post it here first before the AUR; please tell me if I have it set up correctly (it works fine for me). Also, I'm not entirely sure what to put in the license field. Anyway, here it is:
# Contributor: Robert Hollencamp <rhollencamp@gmail.com
pkgname=raknet
pkgver=3.02
pkgrel=1
pkgdesc="Cross platform C++ network library"
arch=('i686')
url="http://www.jenkinssoftware.com/"
license=('Creative Commons Attribution - NonCommercial 2.5')
groups=()
depends=()
makedepends=('autoconf')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(http://superb-west.dl.sourceforge.net/sourceforge/raknetjenkinsso/RakNet$pkgver.zip)
noextract=()
md5sums=('949d5cf422be14194be7bcf004052eab')
build() {
# in 3.02, readme.txt.in was mistakenly named readme.txt, so we have to move it
mv readme.txt readme.txt.in
./bootstrap
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir" install
}
Offline
Works fine for me too (also i686).
Some minor issues:
Delete empty fields like groups(), depends()...
Let license be license=('custom') and install all license files in $pkgdir/usr/share/licenses/pkgname.
I wonder why there are so many documentation files and no working install-step in the build procedure (at least I didn't find them).
Offline
Pages: 1