Apply temporary workaround for launch brisk-menu

Signed-off-by: Stefano Capitani's avatarSte74 <stefano@manjaro.org>
parent c7667e5a
......@@ -3,25 +3,38 @@
pkgname=brisk-menu
pkgver=0.5.0
pkgrel=1
#_commit=8a4e5f7f440a7cb62921dda823888d5bf3dcd132
pkgrel=3.1
_commit=c27413134411a28be186a6dba23560a4bfcaebb3
pkgdesc="An efficient menu for the MATE Desktop"
arch=('i686' 'x86_64')
url="https://github.com/solus-project/brisk-menu"
url="https://github.com/getsolus/brisk-menu"
license=('GPL')
depends=('mate-panel' 'libnotify')
makedepends=('meson' 'ninja')
#source=("$pkgname-$pkgver-$pkgrel.tar.gz::${url}/archive/${_commit}.tar.gz")
source=("${url}/releases/download/v$pkgver/$pkgname-v$pkgver.tar.xz")
sha256sums=('1377ffbb784e576c290bb4d11a2dd376bc0ad017bb9f56a080bccdbc4fbe88ce')
#source=("$url/archive/v$pkgver.tar.gz"
source=("$pkgname-$_commit.tar.gz::${url}/archive/${_commit}.tar.gz"
"$url/pull/2.patch"
'fix-launch.patch::https://aur.archlinux.org/cgit/aur.git/plain/fix-launch.patch?h=brisk-menu')
sha256sums=('ac09b1cdaa94f2bd2d9d1ac497b4f3d1769d22a7152ac72927977d2f0fb13b78'
'2faf8b8f97ee9293b52a6da41a3658c14e211c4ae33840a8565d02188336e93a'
'580f7f78b51107cb8e594b361d36eebbedb38b77a5248b9813dc4bc8961bd775')
prepare() {
mv $pkgname-$_commit $pkgname
cd "$srcdir/$pkgname"
# This patch fixes building with mate 1.22.x
patch -Np1 -i "${srcdir}/2.patch"
# This fixes starting with mate 1.22.x but removes categories icon for now
patch -Np1 -i "${srcdir}/fix-launch.patch"
}
build() {
cd $srcdir/${pkgname}-v${pkgver}
cd $srcdir/${pkgname}
meson --buildtype plain build --prefix=/usr
ninja -C build -j$(($(getconf _NPROCESSORS_ONLN)+1))
}
package() {
cd ${pkgname}-v${pkgver}
cd ${pkgname}
DESTDIR="$pkgdir" ninja -C build install
}
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