diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..19bc6431e334 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = eovim-git + pkgdesc = EFL powered Neovim GUI + pkgver = r202.82ef9bb + pkgrel = 1 + url = https://github.com/jeanguyomarch/eovim + arch = x86_64 + license = MIT + makedepends = cmake + makedepends = git + depends = efl + depends = neovim + depends = msgpack-c + source = eovim-git::git+https://github.com/jeanguyomarch/eovim.git + md5sums = SKIP + +pkgname = eovim-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e0eddde5fedd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Vincent Gatine <nurelin@nurelin.eu> +pkgname=eovim-git +pkgver=r202.82ef9bb +pkgrel=1 +epoch= +pkgdesc="EFL powered Neovim GUI" +arch=('x86_64') +url="https://github.com/jeanguyomarch/eovim" +license=('MIT') +groups=() +depends=('efl' 'neovim' 'msgpack-c') +makedepends=('cmake' 'git') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("eovim-git::git+https://github.com/jeanguyomarch/eovim.git") +noextract=() +md5sums=('SKIP') +validpgpkeys=() + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$pkgname" + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr/" -DCMAKE_BUILD_TYPE=Release .. +} + +build() { + cd "$pkgname" + cmake --build build +} + +package() { + cd "$pkgname" + cmake --build build --target install + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |