Package Details: anna 0.2-3

Git Clone URL: https://aur.archlinux.org/anna.git (read-only)
Package Base: anna
Description: Spawny with a efl greeter
Upstream URL: http://github.com/marcelhollerbach/anna
Licenses: BSD
Submitter: FillFeile
Maintainer: FillFeile
Last Packager: FillFeile
Votes: 0
Popularity: 0.000000
First Submitted: 2017-09-20 14:18
Last Updated: 2017-09-25 09:26

Latest Comments

FillFeile commented on 2017-09-25 09:28

Hey @AJSlye,

thanks for your feedback! I added the changes you proposed to the PKGBUILD.

Do you want me to add yourself as co-maintainer for this package?

Cheers,
FillFeile

AJSlye commented on 2017-09-24 22:06

The anna.install file does not need to be in sources list, it's part of the packaging system.
You don't need a provides line unless this is replacing another package.

Your meson and ninja lines are also flawed. There is no need to mkdir then cd, etc. meson can create the build directory and ninja can change into it before doing anything, these are in-line switches.

Here is a better PKGBUILD:

# Current Maintainer: Daniel Haß <aur@hass.onl>
# Maintainer: Marcel Hollerbach <mail@bu5hm4n.de>
# Maintainer: James Kittsmiller (AJSlye) <james@kittsmiller.com># Current Maintainer: Daniel Haß <aur@hass.onl>
pkgname=anna
pkgdesc="Spawny with a efl greeter"
pkgver=0.2
pkgrel=1
url="http://github.com/marcelhollerbach/anna"
arch=('i686' 'x86_64')
license=('BSD')
depends=('efl' 'protobuf-c')
makedepends=('git' 'meson')
install=anna.install
source=("https://github.com/marcelhollerbach/anna/archive/v${pkgver}.tar.gz" 'spawny.sysusers' 'spawny.tmpfiles')
sha256sums=('5265f4dfae274c1f6cf0e0ee8fa223829a874f6e0a1ac4dc06fbd01d106f8130'
'a4b1f5af59834422b83ed955f9062a838b234a14e58168b80061bd6fd66508a1'
'01c36957bbd928aab112ee79b37c705c2f8a0e21a8394fd63fd7afae08644b56')

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
meson --buildtype=release --prefix=/usr --sysconfdir=/etc build/
ninja -C build/ all
}

check() {
cd "${srcdir}/${pkgname}-${pkgver}"
ninja -C build/ test
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
DESTDIR="$pkgdir" ninja -C build/ install
install -D -m644 ${srcdir}/spawny.sysusers ${pkgdir}/usr/lib/sysusers.d/spawny.conf
install -D -m644 ${srcdir}/spawny.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/spawny.conf
}