summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeph2018-09-27 11:40:57 +0200
committerZeph2018-09-27 11:40:57 +0200
commit92e4de926f310a8c6e47b55939742b56ee1381a5 (patch)
treea76fd4f5a42ef7f5cd7e429b453f15ff80d91582
parentd16f6ed89b8e40c2dd5c5f7251df1c493bbdc778 (diff)
downloadaur-92e4de926f310a8c6e47b55939742b56ee1381a5.tar.gz
V7.1.1-2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD32
2 files changed, 16 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 46c3f4338f2..be89d30972d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pamac-aur
pkgdesc = A Gtk3 frontend for libalpm
pkgver = 7.1.1
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.manjaro.org/applications/pamac
install = pamac.install
arch = i686
@@ -38,8 +38,8 @@ pkgbase = pamac-aur
conflicts = pamac
options = !emptydirs
backup = etc/pamac.conf
- source = pamac-7.1.1-1.tar.gz::https://gitlab.manjaro.org/applications/pamac/-/archive/v7.1.1/pamac-v7.1.1.tar.gz
- sha256sums = 0f6a2cdc5f713bdae155936c881e1a85725b754e150da8902712047cfead8619
+ source = pamac-7.1.1-2.tar.gz::https://gitlab.manjaro.org/applications/pamac/-/archive/a94f21571c0f28f80b7bc405a249a0cdd1a6281d/pamac-a94f21571c0f28f80b7bc405a249a0cdd1a6281d.tar.gz
+ sha256sums = 2b8162a93bad0e383c29283edfd607a687aef43911ba136ac779b0a0dcb22c55
pkgname = pamac-aur
diff --git a/PKGBUILD b/PKGBUILD
index fb2675f2f4e..25960ded157 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,14 @@
# Maintainer: Zeph <zeph33@gmail.com>
# https://gitlab.manjaro.org/packages/extra/pamac
pkgname=pamac-aur
-_pkgver=7.1.1
-pkgver=$_pkgver
-#pkgver=7.1.0rc3
-pkgrel=1
-#_commit=250cad77f395b9521c0560edd39328ee99095456
+pkgver=7.1.1
+pkgrel=2
+_pkgfixver=$pkgver
+
+_pkgvercommit=v$pkgver
+_pkgvercommit=a94f21571c0f28f80b7bc405a249a0cdd1a6281d
+sha256sums=('2b8162a93bad0e383c29283edfd607a687aef43911ba136ac779b0a0dcb22c55')
+
pkgdesc="A Gtk3 frontend for libalpm"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://gitlab.manjaro.org/applications/pamac"
@@ -25,23 +28,17 @@ provides=('pamac')
options=(!emptydirs)
install=pamac.install
-source=("pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/v$_pkgver/pamac-v$_pkgver.tar.gz")
- # "pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/$_commit/pamac-$_commit.tar.gz")
-
-sha256sums=('0f6a2cdc5f713bdae155936c881e1a85725b754e150da8902712047cfead8619')
+source=("pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/$_pkgvercommit/pamac-$_pkgvercommit.tar.gz")
prepare() {
-# mv "$srcdir/pamac-$_commit" "$srcdir/pamac-v$_pkgver"
- cd "$srcdir/pamac-v$_pkgver"
- # patches here
- #patch -p1 -i "$srcdir/git-$pkgver-$pkgrel.patch"
+ cd "$srcdir/pamac-$_pkgvercommit"
# adjust version string
- sed -i -e "s|\"$_pkgver\"|\"$pkgver-$pkgrel\"|g" src/version.vala
+ sed -i -e "s|\"$_pkgfixver\"|\"$pkgver-$pkgrel\"|g" src/version.vala
}
build() {
- cd "$srcdir/pamac-v$_pkgver"
+ cd "$srcdir/pamac-$_pkgvercommit"
mkdir -p builddir
cd builddir
meson --prefix=/usr --sysconfdir=/etc
@@ -51,11 +48,8 @@ build() {
}
package() {
- cd "$srcdir/pamac-v$_pkgver/builddir"
+ cd "$srcdir/pamac-$_pkgvercommit/builddir"
DESTDIR="$pkgdir" ninja install
- # remove pamac-tray-appindicator
-# rm "$pkgdir/usr/bin/pamac-tray-appindicator"
-# rm "$pkgdir/etc/xdg/autostart/pamac-tray-appindicator.desktop"
}
# vim:set ts=2 sw=2 et: