77 lines
2.2 KiB
Bash
77 lines
2.2 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=pacman
|
|
pkgver=6.0.2
|
|
pkgrel=01
|
|
pkgdesc="A library-based package manager with dependency support"
|
|
arch=('x86_64')
|
|
url="https://www.archlinux.org/pacman/"
|
|
groups=(base)
|
|
depends=('bash' 'glibc' 'libarchive' 'curl'
|
|
'gpgme' 'pacman-mirrorlist' 'archlinux-keyring' 'obarun-keyring')
|
|
makedepends=('meson' 'asciidoc' 'doxygen' 'cmake' 'bash-completion')
|
|
checkdepends=('python' 'fakechroot')
|
|
optdepends=('perl-locale-gettext: translation support in makepkg-template')
|
|
provides=('libalpm.so')
|
|
backup=(etc/pacman.conf
|
|
etc/makepkg.conf)
|
|
#options=('strip' 'debug')
|
|
options=(strip)
|
|
source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.xz{,.sig}
|
|
pacman.conf
|
|
makepkg.conf)
|
|
|
|
prepare() {
|
|
cd "$pkgname-$pkgver"
|
|
}
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
meson --prefix=/usr \
|
|
--buildtype=plain \
|
|
-Ddoc=disabled \
|
|
-Ddoxygen=enabled \
|
|
-Dscriptlet-shell=/usr/bin/bash \
|
|
-Dldconfig=/usr/bin/ldconfig \
|
|
build
|
|
|
|
meson compile -C build
|
|
}
|
|
|
|
#check() {
|
|
# cd "$pkgname-$pkgver"
|
|
#
|
|
# meson test -C build
|
|
#}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
|
|
# install Arch specific stuff
|
|
install -dm755 "$pkgdir/etc"
|
|
install -m644 "$srcdir/pacman.conf" "$pkgdir/etc"
|
|
install -m644 "$srcdir/makepkg.conf" "$pkgdir/etc"
|
|
rm -rf $pkgdir/usr/share/libalpm/hooks
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('GPL')
|
|
|
|
validpgpkeys=('6645B0A8C7005E78DB1D7864F99FFE0FEAE999BD' # Allan McRae <allan@archlinux.org>
|
|
'B8151B117037781095514CA7BBDFFC92306B1121') # Andrew Gregory (pacman) <andrew@archlinux.org>
|
|
|
|
sha256sums=(7d8e3e8c5121aec0965df71f59bedf46052c6cf14f96365c4411ec3de0a4c1a5 # pacman-6.0.2.tar.xz
|
|
e3b75fafa8f177752800b31b9d59c454694647ae39b02a8009384a6821ee3be3 # pacman-6.0.2.tar.xz.sig
|
|
aa2e113eba452b9d9fef85aa87333370ae2d3bb0e06df4b0776e04c3ec76d028 # pacman.conf
|
|
7e1af6a61b1b8565b5d608ba77b435e55585ad8acb7b106585458124a020c462) # makepkg.conf
|
|
|
|
|