You are not logged in.
I'm trying to make my first AUR package.
So far I have somethign that seems almost correct, except I am missing the md5sums field.
pkgname=exit-prompt
pkgver=0.1
pkgrel=1
pkgdesc="Exit dialog using systemctl, designed for OpenBox. Based on cb-exit from CrunchBang."
arch=('any')
url='https://github.com/MightyPork/exit-prompt'
license=('MIT')
depends=('python2' 'pygtk')
makedepends=(git)
optdepends=('systemd: power management'
'openbox: logout function')
source=('git://github.com/MightyPork/exit-prompt.git')
provides=('exit-prompt')
md5sums=()
pkgver() {
cd "$srcdir/exit-prompt"
git describe --always | sed 's|-|.|g'
}
package() {
install -Dm 755 "$srcdir/exit-prompt" "$pkgdir/usr/bin/exit-prompt"
}Obviously since it comes from a git repository, I don't know what will be in the repository, hence it makes no sense at all to provide a md5 checksum. However, the build crashes with "ERROR: Integrity checks are missing.".
How to do this right?
Last edited by MightyPork (2014-06-21 10:44:50)
If it ain't broke, pacman -Syyu and it will be
Offline
md5sums=('SKIP')
Offline
md5sums=('SKIP')
Okay, that works. But I've seen some "-git" packages have actual checksums in their PKGBUILD. Does that mean they have to edit the PKGBUILD each time the git repository changes?
Last edited by MightyPork (2014-06-21 10:00:28)
If it ain't broke, pacman -Syyu and it will be
Offline
Can you share those packages with us?
Offline
Oh, my bad, it actually skips the git one, but has checksums for the others.
source=(git://git.gnome.org/gtk+
settings.ini
scroller.patch
switch.patch)
sha256sums=('SKIP'
'c214d3dcdcadda3d642112287524ab3e526ad592b70895c9f3e3733c23701621'
'e93a3c06974d9ef82a6f77dc3da8c2c1d143e941de12e3a757a5746ac45dfc9e'
'84b4e74b1d98bef69b9feb369aabed585a7dde99d05178c30e8e534f66d0d089')Neverming, thanks for help. Closing.
If it ain't broke, pacman -Syyu and it will be
Offline