diff options
author | Britney Fransen <brfransen@gmail.com> | 2020-05-29 19:54:52 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2020-05-29 19:54:52 (GMT) |
commit | 5962762b3a43e441725531471e10f1c30d102392 (patch) | |
tree | f0e55d0ed682cfa1e198e686c5d35eba51de0f5d /abs/extra/pacman-contrib/PKGBUILD | |
parent | 6aba6092f6ffe27f1a00005f5843e2ae76991a78 (diff) | |
download | linhes_pkgbuild-5962762b3a43e441725531471e10f1c30d102392.zip linhes_pkgbuild-5962762b3a43e441725531471e10f1c30d102392.tar.gz linhes_pkgbuild-5962762b3a43e441725531471e10f1c30d102392.tar.bz2 |
pacman-contrib: initial inclusion
Diffstat (limited to 'abs/extra/pacman-contrib/PKGBUILD')
-rw-r--r-- | abs/extra/pacman-contrib/PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/abs/extra/pacman-contrib/PKGBUILD b/abs/extra/pacman-contrib/PKGBUILD new file mode 100644 index 0000000..c063bc2 --- /dev/null +++ b/abs/extra/pacman-contrib/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Johannes Löthberg <johannes@kyriasis.com> +# Maintainer: Daniel M. Capella <polyzen@archlinux.org> + +pkgname=pacman-contrib +pkgver=1.3.0 +pkgrel=2 + +pkgdesc="Contributed scripts and tools for pacman systems" +url="https://git.archlinux.org/pacman-contrib.git/about/" +arch=('x86_64') +license=('GPL') + +depends=('fakeroot' 'pacman' 'perl') +makedepends=('asciidoc') +optdepends=('findutils: for pacdiff --find' + 'mlocate: for pacdiff --locate' + 'sudo: privilege elevation for several scripts' + 'vim: default merge program for pacdiff') + +source=("https://git.archlinux.org/pacman-contrib.git/snapshot/pacman-contrib-$pkgver.tar".{gz,asc}) +sha256sums=('2b8f614651dbe272c9b518c73e53fc194405c06fd8637159a8ac9012c84e9452' + 'SKIP') +validpgpkeys=('5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5') # Johannes Löthberg <johannes@kyriasis.com> + +prepare() { + cd pacman-contrib-$pkgver + + ./autogen.sh +} + +build() { + cd pacman-contrib-$pkgver + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var + make +} + +check() { + make -C pacman-contrib-$pkgver check +} + +package() { + cd pacman-contrib-$pkgver + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: |