diff options
author | Andrew Whatson | 2019-11-09 21:56:29 +1000 |
---|---|---|
committer | Andrew Whatson | 2019-11-09 22:01:32 +1000 |
commit | ff4f63a23d88103e9d5a4b6a36eb76adc7ddac81 (patch) | |
tree | 808018ff7dda1357ca910db319b3a2e6a4e43c1d | |
download | aur-ff4f63a23d88103e9d5a4b6a36eb76adc7ddac81.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 38 |
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6a2cfc6a21ce --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = guile-emacsy-git + pkgdesc = An embeddable Emacs-like library using GNU Guile + pkgver = 0.4.1.r25.g78c33f2 + pkgrel = 1 + url = https://savannah.nongnu.org/projects/emacsy + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + depends = guile + depends = guile-lib + provides = guile-emacsy + conflicts = guile-emacsy + source = git+https://git.savannah.nongnu.org/git/emacsy.git#branch=wip + sha256sums = SKIP + +pkgname = guile-emacsy-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..6ae454c12d18 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.pkg.tar.xz +/emacsy +/pkg/ +/src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6407f0c1c868 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Andrew Whatson <whatson@gmail.com> +_pkgname=emacsy +_pkgbase=guile-${_pkgname} +pkgname=${_pkgbase}-git +pkgver=0.4.1.r25.g78c33f2 +pkgrel=1 +pkgdesc='An embeddable Emacs-like library using GNU Guile' +arch=('i686' 'x86_64') +license=('GPL3') +depends=('guile' 'guile-lib') +provides=(${_pkgbase}) +conflicts=(${_pkgbase}) +makedepends=('git') +url="https://savannah.nongnu.org/projects/emacsy" +source=("git+https://git.savannah.nongnu.org/git/emacsy.git#branch=wip") +sha256sums=('SKIP') + +pkgver() { + cd ${_pkgname} + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd ${_pkgname} + ./autogen.sh +} + +build() { + cd ${_pkgname} + ./configure --prefix=/usr --without-examples + make +} + +package() { + cd ${_pkgname} + make DESTDIR="${pkgdir}" install + rm -rfv "${pkgdir}/usr/bin" "${pkgdir}/usr/etc" +} |