diff options
author | Arnaud Dovi | 2021-06-05 11:14:35 +0200 |
---|---|---|
committer | Arnaud Dovi | 2021-06-05 11:14:35 +0200 |
commit | 56263776c219263fe2856bcbb7d4968414659209 (patch) | |
tree | b4abc9f5baded3b232642f5d8cedc414b55db8dd | |
download | aur-56263776c219263fe2856bcbb7d4968414659209.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5997b5744b40 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = alpm_octopi_utils-git + pkgdesc = Alpm utils for Octopi (git) + pkgver = r20.1e735c3 + pkgrel = 1 + url = https://tintaescura.com/projects/octopi/ + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = vala + depends = pacman-contrib + provides = alpm_octopi_utils + conflicts = alpm_octopi_utils + conflicts = alpm_octopi_utils-dev + source = git+https://github.com/aarnt/alpm_octopi_utils.git + sha512sums = SKIP + +pkgname = alpm_octopi_utils-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..52c9d1e94037 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Arnaud Dovi <mr.dovi@gmail.com> + +pkgname=alpm_octopi_utils-git +pkgver=r20.1e735c3 +pkgrel=1 +pkgdesc="Alpm utils for Octopi (git)" +url="https://tintaescura.com/projects/octopi/" +arch=('i686' 'x86_64') +license=('GPL3') +conflicts=('alpm_octopi_utils' 'alpm_octopi_utils-dev') +provides=('alpm_octopi_utils') +depends=('pacman-contrib') +makedepends=('vala') +source=('git+https://github.com/aarnt/alpm_octopi_utils.git') +sha512sums=('SKIP') +_pkgname="${pkgname/-*/}" + +pkgver() { + cd "$_pkgname" + printf "%s" "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +#prepare() { +# cd "${_pkgname} +#} + +build() { + cd "${_pkgname}" + make +} + +package() { + cd "${_pkgname}" + install -D -m755 src/libalpm_octopi_utils.so "$pkgdir"/usr/lib/libalpm_octopi_utils.so + install -D -m644 src/libalpm_octopi_utils.pc "$pkgdir"/usr/lib/pkgconfig/libalpm_octopi_utils.pc + install -D -m644 src/alpm_octopi_utils.h "$pkgdir"/usr/include/alpm_octopi_utils.h +} |