mirror of
https://github.com/tommytran732/pamac-flatpak
synced 2024-12-04 21:11:33 -05:00
Update to 10.4.2
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
0bfd4408cc
commit
c096da6c41
7
.SRCINFO
7
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = pamac-flatpak
|
pkgbase = pamac-flatpak
|
||||||
pkgdesc = A Gtk3 frontend for libalpm (with AUR, Flatpak and AppIndicator support)
|
pkgdesc = A Gtk3 frontend for libalpm (with AUR, Flatpak and AppIndicator support)
|
||||||
pkgver = 10.2.0
|
pkgver = 10.4.2
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://gitlab.manjaro.org/applications/pamac
|
url = https://gitlab.manjaro.org/applications/pamac
|
||||||
install = pamac.install
|
install = pamac.install
|
||||||
@ -37,8 +37,9 @@ pkgbase = pamac-flatpak
|
|||||||
conflicts = pamac-all
|
conflicts = pamac-all
|
||||||
conflicts = pamac-all-git
|
conflicts = pamac-all-git
|
||||||
conflicts = pamac-flatpak-gnome
|
conflicts = pamac-flatpak-gnome
|
||||||
|
conflicts = pamac-nosnap
|
||||||
options = !emptydirs
|
options = !emptydirs
|
||||||
source = pamac-10.2.0.tar.gz::https://gitlab.manjaro.org/applications/pamac/-/archive/v10.2.0/pamac-v10.2.0.tar.gz
|
source = pamac-10.4.2.tar.bz2::https://gitlab.manjaro.org/applications/pamac/-/archive/v10.4.2/pamac-v10.4.2.tar.bz2
|
||||||
sha256sums = d553ead69b27b94f039816e7faca462b01883778db39a55cc6cd579bd22a7b4b
|
sha256sums = 8b5b2298e16bcfc6fbdfbf2e2cd77cb9cd769d9faa503dd8fec35c18f37b52589ffda670dc9299a8f4962f039ba870007b4601a2610ac0fc298f64a4f8e67eeb
|
||||||
|
|
||||||
pkgname = pamac-flatpak
|
pkgname = pamac-flatpak
|
||||||
|
25
PKGBUILD
25
PKGBUILD
@ -5,7 +5,7 @@
|
|||||||
ENABLE_APPINDICATOR=1
|
ENABLE_APPINDICATOR=1
|
||||||
|
|
||||||
pkgname=pamac-flatpak
|
pkgname=pamac-flatpak
|
||||||
pkgver=10.2.0
|
pkgver=10.4.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
_pkgfixver=$pkgver
|
_pkgfixver=$pkgver
|
||||||
|
|
||||||
@ -14,18 +14,13 @@ arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
|||||||
url="https://gitlab.manjaro.org/applications/pamac"
|
url="https://gitlab.manjaro.org/applications/pamac"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('libnotify' 'libpamac-flatpak' 'libhandy' 'git' 'fakeroot' 'pkgconf')
|
depends=('libnotify' 'libpamac-flatpak' 'libhandy' 'git' 'fakeroot' 'pkgconf')
|
||||||
makedepends=('gettext' 'itstool' 'vala>=0.45' 'meson' 'ninja' 'gobject-introspection' 'xorgproto' 'asciidoc')
|
makedepends=('gettext' 'itstool' 'vala>=0.45' 'meson' 'gobject-introspection' 'xorgproto' 'asciidoc')
|
||||||
conflicts=('pamac' 'pamac-cli' 'pamac-gtk' 'pamac-qt' 'pamac-classic' 'pamac-aur' 'pamac-aur-git' 'pamac-all' 'pamac-all-git' 'pamac-flatpak-gnome')
|
conflicts=('pamac' 'pamac-cli' 'pamac-gtk' 'pamac-qt' 'pamac-classic' 'pamac-aur' 'pamac-aur-git' 'pamac-all' 'pamac-all-git' 'pamac-flatpak-gnome' 'pacmac-nosnap')
|
||||||
provides=('pamac')
|
provides=('pamac')
|
||||||
options=(!emptydirs)
|
options=(!emptydirs)
|
||||||
install=pamac.install
|
install=pamac.install
|
||||||
source=("pamac-$pkgver.tar.gz::$url/-/archive/v$pkgver/pamac-v$pkgver.tar.gz")
|
source=("pamac-$pkgver.tar.gz::$url/-/archive/v$pkgver/pamac-v$pkgver.tar.gz")
|
||||||
sha256sums=('d553ead69b27b94f039816e7faca462b01883778db39a55cc6cd579bd22a7b4b')
|
sha256sums=('8b5b2298e16bcfc6fbdfbf2e2cd77cb9cd769d9faa503dd8fec35c18f37b52589ffda670dc9299a8f4962f039ba870007b4601a2610ac0fc298f64a4f8e67eeb')
|
||||||
|
|
||||||
if [ "${ENABLE_APPINDICATOR}" = 1 ]; then
|
|
||||||
depends+=('libappindicator-gtk3')
|
|
||||||
define_meson+=' -Denable-appindicator=true'
|
|
||||||
fi
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/pamac-v$pkgver"
|
cd "$srcdir/pamac-v$pkgver"
|
||||||
@ -37,11 +32,19 @@ build() {
|
|||||||
cd "$srcdir/pamac-v$pkgver"
|
cd "$srcdir/pamac-v$pkgver"
|
||||||
mkdir -p builddir
|
mkdir -p builddir
|
||||||
cd builddir
|
cd builddir
|
||||||
meson --prefix=/usr --sysconfdir=/etc -Denable-flatpak=true $define_meson --buildtype=release
|
meson --prefix=/usr --sysconfdir=/etc --buildtype=release -Denable-fake-gnome-software=true
|
||||||
|
# build
|
||||||
ninja
|
ninja
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/pamac-v$pkgver/builddir"
|
cd "$srcdir/pamac-v$pkgver/builddir"
|
||||||
|
|
||||||
DESTDIR="$pkgdir" ninja install
|
DESTDIR="$pkgdir" ninja install
|
||||||
}
|
# remove pamac-gnome-integration
|
||||||
|
rm "$pkgdir/usr/bin/gnome-software"
|
||||||
|
rm "$pkgdir/usr/share/applications/org.gnome.Software.desktop"
|
||||||
|
rm "$pkgdir/usr/share/dbus-1/services/org.gnome.Software.service"
|
||||||
|
|
||||||
|
}
|
||||||
|
# vim:set ts=2 sw=2 et:
|
@ -17,6 +17,6 @@ post_install() {
|
|||||||
|
|
||||||
post_remove() {
|
post_remove() {
|
||||||
# disable systemd timers
|
# disable systemd timers
|
||||||
rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
|
systemctl disable --now pamac-cleancache.timer
|
||||||
#rm -f /etc/systemd/system/multi-user.target.wants/pamac-mirrorlist.timer
|
#systemctl disable --now pamac-mirrorlist.timer
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user