Erstmal, willkommen in der Welt der PKGBUILDS, du wirst sehen, das dieses BUILD-System echt genial ist..
nun aber an die Arbeit:
Deine pkgdesc ist etwas lang. Alternativ könntest du z.B. "op provides a flexible means to grant access to certain root operations without having to give them full superuser privileges."
Hm, ok, is jetzt nich soo viel kürzer, find das zwar immer noch zu lang, aber das sollte halt so kurz wie möglich gehalten werden.
Dann weiter: Die Felder, die bei dir eh leer sind, kannste eigentlich weglassen (bis auf license, ich glaub, das sollte man drinlassen)
Also kannste (meines Erachtens) die Zeilen
makedepends=()
conflicts=()
replaces=()
backup=()
install=
löschen!
Ansonsten: Hab grad mal makepkg drüber laufen lassen, sieht gut aus!
Wenn du das ganze ins AUR stellen willst, solltest du noch schauen, obs das Paket schon gibt, wenn nicht, mach noch in die Erste Zeile deinen Namen rein ala
"#Contributor darkstar <email.addy>
Und fertig 🙂
Hab grad gesehn, dass es das schon als Paket in der AUR gibt:
http://aur.archlinux.org/packages.php...ns=&SeB=nd
Tjo, und da sieht man auch gleich, wozu so ein langes pkgdesc-Feld führt: Wird in der Anzeige der AUR dann einfach abgeschnitten *g*
Hier mal die PKGBUILD von alecthomas, der die PKGBUILD reingestellt hat:
# $Id: PKGBUILD,v 1.14 2005/04/03 21:05:37 judd Exp $
# Maintainer: Alec Thomas <alec@swapoff.org>
pkgname=op
pkgver=1.31
pkgrel=1
pkgdesc="The op tool provides a flexible means for system administrators to grant access to certain root operations without having to give them full superuser privileges. Different sets of users may access different operations, and the security-related aspects of each operation can be carefully controlled."
url="https://svn.swapoff.org/op"
depends=('glibc' 'pam')
makedepends=('flex')
backup=('etc/op.conf')
source=(http://swapoff.org/files/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('1a20e56f858b4d1d536bbd8c616e778e')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --enable-xauth=/usr/X11R6/bin/xauth --with-pam
make DESTDIR=$startdir/pkg install || return 1
mkdir -p $startdir/pkg/etc/pam.d
install -m644 $startdir/src/${pkgname}-${pkgver}/op.pam $startdir/pkg/etc/pam.d/op
}
Keine Ahnung wozu der pam-daemon da ist...