This commit is contained in:
joborun linux 2024-03-21 22:59:11 +02:00
parent 573aca1b56
commit c1c58d0f49
5 changed files with 85 additions and 0 deletions

42
basu/PKGBUILD Normal file
View File

@ -0,0 +1,42 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
## Major shift in policy ... at-spi2-core requires libei which can only be build with libsystemd/elogind/basu
## Pinentry needs at-spi2-core and gnupg require pinentry ... as far as arch ecosystem is concerned
## you can't possibly avoid basu
pkgname=basu
pkgver=0.2.1
pkgrel=06
pkgdesc="The sd-bus library, extracted from systemd."
url="https://git.sr.ht/~emersion/basu"
makedepends=(meson gperf)
conflicts=('systemd-libs' 'elogind')
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/basu/archive/v$pkgver.tar.gz")
build() {
arch-meson "$pkgname-v$pkgver" build -Dsystem-bus-address='unix:path=/run/dbus/system_bus_socket'
meson compile -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('LGPL-2.1-or-later')
sha256sums=(43b327073d1ac7bc6cbc0d3dfff729348fc970dfff0551ad40e366332e990204) # basu-0.2.1.tar.gz

35
basu/PKGBUILD-oba Normal file
View File

@ -0,0 +1,35 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Paul Mathai <sonnysighed@e.email>
pkgname=basu
pkgver=0.2.1
pkgrel=5
pkgdesc="The sd-bus library, extracted from systemd."
arch=('x86_64')
url="https://git.sr.ht/~emersion/basu"
license=('LGPL-2.1-or-later')
makedepends=(
meson
gperf
)
conflicts=('systemd-libs')
source=("$pkgname-$pkgver::https://git.sr.ht/~emersion/basu/archive/v$pkgver.tar.gz")
sha512sums=(' ')
build() {
arch-meson "$pkgname-v$pkgver" build -Dsystem-bus-address='unix:path=/run/dbus/system_bus_socket'
meson compile -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
# vim:set sw=2 sts=-1 et:

1
basu/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,basu*.tar.gz}

2
basu/deps Normal file
View File

@ -0,0 +1,2 @@
meson
gperf

5
basu/time Normal file
View File

@ -0,0 +1,5 @@
real 0m51.164s
user 1m33.360s
sys 0m4.016s