Looks good to me, the only minor thing coming to mind is: Maybe license=('custom') is better fitting the specification: https://wiki.archlinux.org/index.php/PKGBUILD#license 2018-01-23 22:59 GMT+01:00 Panayotis Katsaloulis via aur-general < aur-general@archlinux.org>:
Hello all
This is my first attempt to create a valid PKGBUILD file for Arch Linux. It is about the missing amiwm window manager.
Please tell me what you think
# Maintainer: Panayotis Katsaloulis <panayotis@panayotis.com> pkgname=amiwm pkgver=0.21pl2 pkgrel=1 pkgdesc="An X window manager that tries to make your display look and feel like an Amiga® Workbench® screen" arch=('x86_64' 'i686') url="https://www.lysator.liu.se/~marcus/amiwm.html" license=('FREEWARE') source=('ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/amiwm0.21pl2.tar.gz') md5sums=('3a47e887777e2be2978363220cf815ef')
build() { cd "$pkgname$pkgver" ./configure --prefix=/usr make }
package() { cd "$pkgname$pkgver" make prefix="$pkgdir/usr" install rm $pkgdir/usr/bin/requestchoice install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }