+depends_dev=""+makedepends="$depends_dev"+install=""+subpackages=""+source="https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz"++_builddir="$srcdir/$pkgname-$pkgver"+prepare() {+ local i+ cd "$_builddir"+ for i in $source; do+ case $i in+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;+ esac+ done+}++build() {+ cd "$_builddir"+ make || return 1+}++package() {+ cd "$_builddir"+ mkdir -p "$pkgdir"/usr/local "$pkgdir"/etc/xdb "$pkgdir"/lib+ make install PREFIX="$pkgdir"/usr/local \
This looks wrong. We should not install anything in /usr/local as that
is reserved[1] for locally installed software (eg not managed with package
manager).
abuild normally complains if it finds stuff in /usr/local
libinstall dir /lib also looks wrong unless this package contains
critical software needed for booting the system, things that is needed
before /usr is mounted.