Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch linux PKGBUILD file #1

Open
urandom opened this issue Apr 6, 2017 · 3 comments
Open

Arch linux PKGBUILD file #1

urandom opened this issue Apr 6, 2017 · 3 comments

Comments

@urandom
Copy link

urandom commented Apr 6, 2017

Hi,

I've prepared a PKGBUILD file for arch linux, in case you want to add it to the AUR:

pkgname=gnvim-git
pkgver=9b88b27
pkgrel=1
pkgdesc='A GTK3 GUI for neovim.'
arch=('i686' 'x86_64')
url='https://github.com/realh/gnvim'
license=('GPL3')
depends=('gtkmm' 'msgpack-c')
makedepends=('git' 'autoconf' 'make')
conflicts=('gnvim')
source=(
	"${pkgname}::git+https://github.com/realh/gnvim"
)
sha256sums=(
	'SKIP'
)
provides=("gnvim=${pkgver}")

pkgver() {
	cd "$srcdir/${pkgname}"
	git rev-parse --short HEAD
}

build() {
	cd "$srcdir/${pkgname}"
	autoreconf -i
	./configure --prefix=/usr
	make
}

package() {
	cd "$srcdir/${pkgname}"
	make DESTDIR="$pkgdir/" install
}
@realh
Copy link
Owner

realh commented Apr 7, 2017

Thanks for that, but I've come to the conclusion that it isn't really worth developing this project further. See the updated README.md for details.

@realh
Copy link
Owner

realh commented May 14, 2017

I'm continuing with development after all, so this could be useful. Do I just need to include the file PKGBUILD in the top-level directory? And how and when should I update pkgrel?

@urandom
Copy link
Author

urandom commented May 14, 2017

You have to add PKGBUILD to https://aur.archlinux.org/, beside that, you can keep it anywhere you like, it doesn't have to be part of this repo. The pkgrel should be changed whenever you change something in the pkgbuild, without the sources actually changing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants