parent
b667deabb6
commit
573aca1b56
|
@ -0,0 +1,95 @@
|
|||
#!/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 |---------------------------------------
|
||||
|
||||
pkgname=libpamac
|
||||
pkgver=11.6.4
|
||||
_pkgrel=0
|
||||
pkgrel=02
|
||||
_pkgfixver=$pkgver
|
||||
_commit='9108cba3ae01c60c198e996a4956474a66597a7b'
|
||||
pkgdesc="Pamac package manager library based on libalpm no snap no flatpak no systemd"
|
||||
url="https://gitlab.manjaro.org/applications/libpamac"
|
||||
replaces=('libpamac-aur')
|
||||
makedepends=('gettext' 'itstool' 'vala>=0.46' 'asciidoc' 'meson' 'ninja' 'gobject-introspection' 'appstream')
|
||||
backup=('etc/pamac.conf')
|
||||
conflicts=('libpamac-aur' 'libpamac-all' 'libpamac-git')
|
||||
provides=('libpamac')
|
||||
options=(!emptydirs !strip)
|
||||
#install=pamac.install ## systemd timer ..etc
|
||||
source=("libpamac-$pkgver-$_pkgrel.tar.gz::$url/-/archive/$_commit/libpamac-$_commit.tar.gz"
|
||||
fix-appstream-data.sh
|
||||
fix-appstream-data.hook)
|
||||
|
||||
ENABLE_FLATPAK=0
|
||||
ENABLE_SNAPD=0
|
||||
|
||||
define_meson=''
|
||||
if [ "${ENABLE_FLATPAK}" = 1 ]; then
|
||||
depends+=('flatpak')
|
||||
define_meson+=' -Denable-flatpak=true'
|
||||
fi
|
||||
|
||||
if [ "${ENABLE_SNAPD}" = 1 ]; then
|
||||
depends+=('snapd' 'snapd-glib')
|
||||
define_meson+=' -Denable-snap=true'
|
||||
fi
|
||||
|
||||
create_links() {
|
||||
# create soname links
|
||||
find "$pkgdir" -type f -name '*.so*' ! -path '*xorg/*' -print0 | while read -d $'\0' _lib; do
|
||||
_soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 'SONAME.*: \[\K[^]]*' || true)
|
||||
_base=$(echo ${_soname} | sed -r 's/(.*)\.so.*/\1.so/')
|
||||
[[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}"
|
||||
[[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}"
|
||||
done
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/libpamac-$_commit"
|
||||
# adjust version string
|
||||
sed -i -e "s|\"$_pkgfixver\"|\"$pkgver-$_pkgrel\"|g" src/version.vala
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/libpamac-$_commit"
|
||||
mkdir -p builddir
|
||||
cd builddir
|
||||
meson setup --buildtype=release \
|
||||
--prefix=/usr \
|
||||
-Denable-aur=true \
|
||||
-Denable-appstream=true \
|
||||
-Dsysconfdir=/etc
|
||||
$define_meson
|
||||
# build
|
||||
meson compile
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/libpamac-$_commit/builddir"
|
||||
DESTDIR="$pkgdir" ninja install
|
||||
depends=('glib2>=2.42' 'json-glib' 'libsoup3' 'dbus-glib' 'polkit' 'vte3>=0.38'
|
||||
'libalpm.so=14' 'libnotify' 'pacman<6.2' 'gnutls>=3.4' 'git' 'appstream'
|
||||
'appstream-glib>=0.7.18-1' 'archlinux-appstream-data')
|
||||
# fix appstream issue
|
||||
install -Dm644 "$srcdir/fix-appstream-data.hook" "$pkgdir/etc/pacman.d/hooks/fix-appstream-data.hook"
|
||||
install -Dm755 "$srcdir/fix-appstream-data.sh" "$pkgdir/etc/pacman.d/hooks.bin/fix-appstream-data.sh"
|
||||
create_links
|
||||
rm -rf $pkgdir/usr/lib/systemd
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('GPL-3.0-or-later')
|
||||
|
||||
sha256sums=(f5aabfc5b1972f444bd527d23ee33c927e4bec9fedf2e947aff3aa997afbee07 # libpamac-11.6.4-0.tar.gz
|
||||
6e0c25f0fcb0076ce78845b037e32925fcc3f1cd1670062c48ed35f564a10244 # fix-appstream-data.sh
|
||||
b5236af02c25cd7de4b2c9c2d0f064dac3c2f54da5cc72bf72fc6236a34bd9c4) # fix-appstream-data.hook
|
||||
|
||||
## aa65f3988f330f747ee89cada8603519d0e079b094b09f5054cfb81a8fa29374 libpamac-11.6.4-02-x86_64.pkg.tar.lz
|
||||
|
|
@ -5,24 +5,24 @@ ENABLE_FLATPAK=0
|
|||
ENABLE_SNAPD=0
|
||||
|
||||
pkgname=libpamac-aur
|
||||
pkgver=11.6.3
|
||||
pkgrel=0
|
||||
pkgver=11.6.4
|
||||
pkgrel=1
|
||||
_pkgfixver=$pkgver
|
||||
|
||||
_commit='dff0d861a492e0dcbfb03b134cf737e627315d52'
|
||||
sha256sums=('965ea2c39b3999bb0ac5ec75da150d43fdd35deb02c0c113deef84e96ee636de'
|
||||
_commit='9108cba3ae01c60c198e996a4956474a66597a7b'
|
||||
sha256sums=('f5aabfc5b1972f444bd527d23ee33c927e4bec9fedf2e947aff3aa997afbee07'
|
||||
'6e0c25f0fcb0076ce78845b037e32925fcc3f1cd1670062c48ed35f564a10244'
|
||||
'b5236af02c25cd7de4b2c9c2d0f064dac3c2f54da5cc72bf72fc6236a34bd9c4')
|
||||
|
||||
pkgdesc="Pamac package manager library based on libalpm"
|
||||
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
url="https://gitlab.manjaro.org/applications/libpamac"
|
||||
license=('GPL3')
|
||||
depends=('glib2>=2.42' 'json-glib' 'libsoup3' 'dbus-glib' 'polkit' 'vte3>=0.38' 'libalpm.so'
|
||||
'libnotify' 'pacman>=6.0' 'pacman<6.1' 'gnutls>=3.4' 'appstream'
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=('glib2>=2.42' 'json-glib' 'libsoup3' 'dbus-glib' 'polkit' 'vte3>=0.38' 'libalpm.so=14'
|
||||
'libnotify' 'pacman>=6.1' 'pacman<6.2' 'gnutls>=3.4' 'appstream'
|
||||
'appstream-glib>=0.7.18-1' 'archlinux-appstream-data' 'git')
|
||||
|
||||
makedepends=('gettext' 'itstool' 'vala>=0.46' 'asciidoc' 'meson' 'ninja' 'gobject-introspection')
|
||||
makedepends=('gettext' 'itstool' 'vala>=0.46' 'asciidoc' 'meson' 'ninja' 'gobject-introspection' 'systemd')
|
||||
backup=('etc/pamac.conf')
|
||||
conflicts=('libpamac' 'libpamac-all')
|
||||
provides=('libpamac')
|
||||
|
|
|
@ -7,12 +7,11 @@
|
|||
|
||||
#pkgname=('pamac-aur-git')
|
||||
pkgname=pamac
|
||||
_pkgver=11.7.1
|
||||
pkgver=11.7.1
|
||||
pkgrel=03
|
||||
_pkgver=11.7.1.r0.g73cef1d ## latest commit
|
||||
pkgrel=04
|
||||
pkgdesc="A Gtk3 frontend for libalpm - git version AUR support w/o systemd, snap, or flatpak"
|
||||
url="https://gitlab.manjaro.org/applications/pamac"
|
||||
depends=('libnotify' 'libpamac' 'libhandy' 'gtk4')
|
||||
optdepends=('lxsession: needed for authentification in Xfce, LXDE etc.')
|
||||
makedepends=('gettext' 'itstool' 'vala' 'meson' 'ninja' 'gobject-introspection' 'xorgproto' 'asciidoc' 'git')
|
||||
options=(!emptydirs)
|
||||
|
@ -54,6 +53,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
depends=('libnotify' 'libpamac' 'libhandy' 'gtk4' 'libadwaita')
|
||||
conflicts=('pamac-aur' 'pamac-git' 'pamac-nosnap' 'pamac-flatpac' 'pamac-all-git' 'pamac-aur' 'pamac-cli')
|
||||
install=pamac.install
|
||||
cd $pkgname
|
||||
|
@ -70,6 +70,10 @@ package() {
|
|||
cd "$srcdir/$pkgname-cli/builddir"
|
||||
meson install --destdir "$pkgdir"
|
||||
rm "$pkgdir/usr/lib/systemd/system/pamac-offline-upgrade.service"
|
||||
# rm "$pkgdir/usr/lib/systemd/system/pamac-cleancache.timer"
|
||||
# rm "$pkgdir/usr/lib/systemd/system/pamac-mirrorlist.timer"
|
||||
rmdir "$pkgdir/usr/lib/systemd/system"
|
||||
rmdir "$pkgdir/usr/lib/systemd"
|
||||
|
||||
}
|
||||
|
||||
|
@ -82,5 +86,4 @@ license=('GPL3')
|
|||
sha256sums=(SKIP
|
||||
SKIP)
|
||||
|
||||
## fe95a2bf6e877709e3157d0088f4cf6b3eb77bb465af583452416d942cb80e4e pamac-11.7.1-03-x86_64.pkg.tar.lz
|
||||
|
||||
## 68ed8d1491f4149170b263e250fc1e0717187200c31fe1d5645e8f2615dd12aa pamac-11.7.1-04-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
pkgname=('pamac-aur-git')
|
||||
_pkgname=pamac
|
||||
pkgver=11.7.0.r0.g6f68f42
|
||||
_pkgver=11.6.0
|
||||
pkgver=11.7.1.r0.g73cef1d
|
||||
_pkgver=11.7.0
|
||||
pkgrel=1
|
||||
pkgdesc="A Gtk3 frontend for libalpm - git version"
|
||||
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
|
|
|
@ -12,6 +12,8 @@ libgit2
|
|||
cmake
|
||||
gtk4
|
||||
libadwaita
|
||||
|
||||
|
||||
libglvnd
|
||||
rav1e
|
||||
graphite
|
||||
|
||||
|
||||
|
|
|
@ -1,23 +1,17 @@
|
|||
post_install() {
|
||||
# enable systemd timers
|
||||
# ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/multi-user.target.wants
|
||||
# ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/multi-user.target.wants
|
||||
# polkit agent
|
||||
printf '==> An authentication agent is required\n'
|
||||
printf ' Cinnamon, Deepin, GNOME, GNOME Flashback, KDE, LXDE, LXQt, MATE and Xfce\n'
|
||||
printf ' have an authentication agent already.\n'
|
||||
printf ' See https://wiki.archlinux.org/index.php/Polkit#Authentication_agents\n'
|
||||
printf ' for other desktop environments.\n'
|
||||
# disable systemd timers timers if they exist
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
|
||||
}
|
||||
|
||||
#post-update {
|
||||
# zcat /usr/share/app-info/xmls/community.xml.gz | sed 's|<em>||g;s|<\/em>||g;' | gzip > "new.xml.gz"
|
||||
# cp new.xml.gz /usr/share/app-info/xmls/community.xml.gz
|
||||
# appstreamcli refresh-cache --force
|
||||
#}
|
||||
post-update {
|
||||
# disable systemd timers timers if they exist
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
# disable systemd timers
|
||||
# rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
|
||||
# rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
|
||||
# disable systemd timers if they exist
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
|
||||
}
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
#!/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 |---------------------------------------
|
||||
|
||||
pkgname="yay-git"
|
||||
_pkgname="yay"
|
||||
pkgver=12.3.4.r0.ga1d530c
|
||||
pkgrel=02
|
||||
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go. (development version)"
|
||||
url="https://github.com/Jguer/yay"
|
||||
depends=('pacman>5' 'git')
|
||||
optdepends=('sudo: privilege elevation'
|
||||
'doas: privilege elevation'
|
||||
'gksu: privilege elevation w/o logind/dbus')
|
||||
makedepends=('go>=1.21')
|
||||
options=(!lto)
|
||||
conflicts=('yay')
|
||||
provides=('yay')
|
||||
source=("yay::git+https://github.com/Jguer/yay.git#branch=next")
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
export GOPATH="$srcdir"/gopath
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export GOFLAGS="${GOFLAGS} $(pacman -T 'libalpm.so=14-64' > /dev/null && echo "-tags=next")"
|
||||
export CGO_ENABLED=1
|
||||
|
||||
cd "$srcdir/$_pkgname"
|
||||
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('GPL-3.0-or-later')
|
||||
|
||||
sha256sums=("SKIP")
|
||||
|
||||
## 65d06f8178b9784a661be150cd7d503a5968365b5eea47f09bed7a83c902052f yay-git-12.3.4.r0.ga1d530c-02-x86_64.pkg.tar.lz
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
# Maintainer: Tucker Boniface <tucker@boniface.tech>
|
||||
# Maintainer: Jguer <pkgbuilds at jguer.space>
|
||||
pkgname="yay-git"
|
||||
_pkgname="yay"
|
||||
pkgver=12.3.4.r0.ga1d530c
|
||||
pkgrel=1
|
||||
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go. (development version)"
|
||||
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64' 'riscv64')
|
||||
url="https://github.com/Jguer/yay"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=(
|
||||
'pacman>5'
|
||||
'git'
|
||||
)
|
||||
optdepends=(
|
||||
'sudo: privilege elevation'
|
||||
'doas: privilege elevation'
|
||||
)
|
||||
makedepends=('go>=1.21')
|
||||
options=(!lto)
|
||||
conflicts=('yay')
|
||||
provides=('yay')
|
||||
source=("yay::git+https://github.com/Jguer/yay.git#branch=next")
|
||||
sha256sums=("SKIP")
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
export GOPATH="$srcdir"/gopath
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export GOFLAGS="${GOFLAGS} $(pacman -T 'libalpm.so=14-64' > /dev/null && echo "-tags=next")"
|
||||
export CGO_ENABLED=1
|
||||
|
||||
cd "$srcdir/$_pkgname"
|
||||
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,yay}
|
|
@ -0,0 +1,5 @@
|
|||
git
|
||||
go
|
||||
|
||||
|
||||
gettext
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m11.076s
|
||||
user 0m8.292s
|
||||
sys 0m1.032s
|
||||
|
Loading…
Reference in New Issue