You are not logged in.
I just created a new package. Here it is.
As you may notice, the information displayed does not make sense.
1. Version should be 0, as it is derived from `git` situation.
2. The description is clearly wrong.
These values actually were in place while I was drafting the PKGBUILD (I used 1oom-git as a prototype), but I amended them before pushing. I even pushed a minor change specifically to see if the information displayed in the web interface would reflect the change. You can see for yourself if you clone the repository.
Offline
You did not regenerate .SRCINFO after altering the PKGBUILD.
edit:
AUR_submission_guidelines#Publishing_new_package_content
Last edited by loqs (2019-07-07 20:17:43)
Offline
The version number looks correct. You can remove the empty 'conflicts' array when you update it.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thank you!
I did not know it is .SRCINFO that the values to be displayed in the web interface come from.
Offline
I tried building it in a clean chroot it fails due to missing dependency on libxkbcommon.
Adding that it built but without RELRO due to the Makefile overriding LDFLAGS and without FORTIFY_SOURCE as CFLAGS are also overridden.
Edit:
added libxkbcommon to depends, added havoc to conflicts, use sed to modify Makefiles to extend CFLAGS and LDFLAGS rather than override them, installed MIT based license.
# Maintainer: Ignat Insarov <kindaro@gmail.com>
pkgname=havoc-git
pkgver=r25.f620c9b
pkgrel=1
pkgdesc='A minimal terminal emulator for Wayland on Linux.'
arch=(x86_64)
url='https://github.com/ii8/havoc'
license=('MIT')
depends=('wayland' 'libxkbcommon')
makedepends=('wayland-protocols' 'git')
provides=(havoc)
conflicts=(havoc)
source=('git+https://github.com/ii8/havoc')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/havoc"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd havoc
sed -i 's/CFLAGS=/CFLAGS+=/' Makefile tsm/Makefile
sed -i 's/LDFLAGS=/LDFLAGS += /' Makefile
make PREFIX='/usr'
}
package() {
cd havoc
install -dm 755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
make PREFIX='/usr' DESTDIR="${pkgdir}" install
}
Last edited by loqs (2019-07-07 23:22:31)
Offline