diff options
author | Oto Šťáva | 2023-07-13 16:42:13 +0200 |
---|---|---|
committer | Oto Šťáva | 2023-07-13 16:42:13 +0200 |
commit | 2c7ae3ff6604728f330bbd5fa789f5f2a2c059c8 (patch) | |
tree | ec55f76e9c7be6522c2a279b22d31c310d21d48d /PKGBUILD | |
download | aur-autoedit-git.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b01e3eb0d98d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Oto Šťáva <oto.stava@gmail.com> +_pkgname=autoedit + +pkgname=${_pkgname}-git +pkgver=r1.af46184 +pkgrel=1 +pkgdesc="A script for interactive editing of GNU Autotools project configurations" +arch=('any') +url="https://gitlab.com/Spiffyk/autoedit" +license=('MIT') +depends=('autoconf' 'bash' 'grep') +makedepends=('git') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("git+https://gitlab.com/Spiffyk/autoedit.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/${_pkgname}" + printf "r%s.%s" \ + "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/${_pkgname}" + mkdir -p "$pkgdir/usr/bin" + cp autoedit.sh "$pkgdir/usr/bin/autoedit" +} |