[arch-commits] Commit in pacutils/repos (2 files)

Johannes Löthberg demize at archlinux.org
Fri Nov 25 14:55:49 UTC 2016


    Date: Friday, November 25, 2016 @ 14:55:48
  Author: demize
Revision: 196854

archrelease: copy trunk to community-i686, community-x86_64

Added:
  pacutils/repos/community-i686/PKGBUILD
    (from rev 196853, pacutils/trunk/PKGBUILD)
  pacutils/repos/community-x86_64/PKGBUILD
    (from rev 196853, pacutils/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: pacutils/repos/community-i686/PKGBUILD (from rev 196853, pacutils/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-11-25 14:55:48 UTC (rev 196854)
@@ -0,0 +1,42 @@
+pkgname=pacutils
+pkgver=0.4.0
+pkgrel=1
+
+pkgdesc='Helper tools for libalpm'
+url='https://github.com/andrewgregory/pacutils'
+arch=('i686' 'x86_64')
+license=('MIT')
+
+depends=('pacman')
+makedepends=('git')
+
+source=("git+https://github.com/andrewgregory/pacutils.git#tag=v$pkgver"
+        "git+https://github.com/andrewgregory/mINI.c.git"
+        "git+https://github.com/andrewgregory/tap.c.git")
+sha1sums=('SKIP' 'SKIP' 'SKIP')
+
+prepare() {
+  cd pacutils
+  git submodule init
+  git config submodule.ext/mini.c.url "$srcdir/mINI.c"
+  git config submodule.t/tap.c.url "$srcdir/tap.c"
+  git submodule update
+}
+
+build() {
+  cd pacutils
+  make SYSCONFDIR=/etc LOCALSTATEDIR=/var
+}
+
+check() {
+  cd pacutils
+  make check
+}
+
+package() {
+  cd pacutils
+  make DESTDIR="$pkgdir" PREFIX=/usr install
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
+}
+
+# vim: set ft=PKGBUILD et sw=2:

Copied: pacutils/repos/community-x86_64/PKGBUILD (from rev 196853, pacutils/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-11-25 14:55:48 UTC (rev 196854)
@@ -0,0 +1,42 @@
+pkgname=pacutils
+pkgver=0.4.0
+pkgrel=1
+
+pkgdesc='Helper tools for libalpm'
+url='https://github.com/andrewgregory/pacutils'
+arch=('i686' 'x86_64')
+license=('MIT')
+
+depends=('pacman')
+makedepends=('git')
+
+source=("git+https://github.com/andrewgregory/pacutils.git#tag=v$pkgver"
+        "git+https://github.com/andrewgregory/mINI.c.git"
+        "git+https://github.com/andrewgregory/tap.c.git")
+sha1sums=('SKIP' 'SKIP' 'SKIP')
+
+prepare() {
+  cd pacutils
+  git submodule init
+  git config submodule.ext/mini.c.url "$srcdir/mINI.c"
+  git config submodule.t/tap.c.url "$srcdir/tap.c"
+  git submodule update
+}
+
+build() {
+  cd pacutils
+  make SYSCONFDIR=/etc LOCALSTATEDIR=/var
+}
+
+check() {
+  cd pacutils
+  make check
+}
+
+package() {
+  cd pacutils
+  make DESTDIR="$pkgdir" PREFIX=/usr install
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
+}
+
+# vim: set ft=PKGBUILD et sw=2:



More information about the arch-commits mailing list