Commit 3245f61d authored by Strit's avatar Strit

updated to 6.4

parent a9d7b8c3
......@@ -2,12 +2,13 @@
pkgbase=pamac
pkgname=('pamac' 'pamac-tray-appindicator')
_pkgver=6.3.3
pkgver=6.3.92
pkgrel=1
_pkgver=6.5.0
pkgver=6.4.0
pkgrel=5
_commit=84b37354f3d7d4cf3abaea90ef0bc32cddcb2b99
pkgdesc="A Gtk3 frontend for libalpm"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/manjaro/pamac"
url="https://gitlab.manjaro.org/applications/pamac"
license=('GPL3')
depends=('glib2>=2.42' 'json-glib' 'libsoup' 'dbus-glib' 'polkit' 'vte3>=0.38' 'gtk3>=3.22'
'libnotify' 'desktop-file-utils' 'pacman>=5.1' 'pacman<5.2' 'gnutls>=3.4'
......@@ -15,23 +16,21 @@ depends=('glib2>=2.42' 'json-glib' 'libsoup' 'dbus-glib' 'polkit' 'vte3>=0.38' '
makedepends=('gettext' 'meson' 'vala>=0.36.6' 'libappindicator-gtk3' 'git')
options=(!emptydirs)
source=("pamac-$_pkgver-$pkgrel.tar.gz::$url/archive/v$_pkgver.tar.gz"
"git-$pkgver-$pkgrel.patch::https://github.com/manjaro/pamac/compare/v$_pkgver...master.patch"
)
sha256sums=('b4e62b9fb602ca4c2ac30b829200484d4177a9cf944ab86c5eaaf583509e4766'
'901941eaa835ef175b3f2bab7c212ea071096c4389e32da9b4cc4c6c77ce04ab')
source=(#"pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/v$_pkgver/$pkgname-v$_pkgver.tar.gz"
"pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz")
sha256sums=('a09fe4a53e2b1c7018e94c435c553575b133d2934b22e2067cc3041da2fe942c')
prepare() {
cd "$srcdir/pamac-$_pkgver"
mv "$srcdir/pamac-$_commit" "$srcdir/pamac-v$_pkgver"
cd "$srcdir/pamac-v$_pkgver"
# patches here
patch -p1 -i "$srcdir/git-$pkgver-$pkgrel.patch"
# adjust version string
sed -i -e "s|\"$_pkgver\"|\"$pkgver-$pkgrel\"|g" src/manager_window.vala
sed -i -e "s|\"$_pkgver\"|\"$pkgver-$pkgrel\"|g" src/version.vala
}
build() {
cd "$srcdir/pamac-$_pkgver"
cd "$srcdir/pamac-v$_pkgver"
mkdir -p builddir
cd builddir
meson --prefix=/usr --sysconfdir=/etc -Denable-appindicator=true
......@@ -45,7 +44,7 @@ package_pamac() {
backup=('etc/pamac.conf')
replaces=('pamac-aur')
install=pamac.install
cd "$srcdir/pamac-$_pkgver"
cd "$srcdir/pamac-v$_pkgver"
cd builddir
DESTDIR="$pkgdir" ninja install
# remove pamac-tray-appindicator
......@@ -56,7 +55,7 @@ package_pamac() {
package_pamac-tray-appindicator() {
pkgdesc="Tray icon using appindicator which feets better in KDE"
depends=('pamac' 'libappindicator-gtk3')
cd "$srcdir/pamac-$_pkgver"
cd "$srcdir/pamac-v$_pkgver"
install -Dm755 "builddir/src/pamac-tray-appindicator" "$pkgdir/usr/bin/pamac-tray-appindicator"
install -Dm644 "data/applications/pamac-tray-appindicator.desktop" "$pkgdir/etc/xdg/autostart/pamac-tray-appindicator.desktop"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment