Commit f68e14a8 authored by Philip Müller's avatar Philip Müller

[pkg-upd] 0.2.1-1

parent b50e8746
......@@ -16,8 +16,10 @@ makedepends=('git' 'cmake')
options=(!emptydirs)
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=('7340f24ac0372f586cfb23d40cdff467c6ae2be4443de1b6cf87b7eb802aff2e')
"pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz"
pamac-qt.desktop)
sha256sums=('7340f24ac0372f586cfb23d40cdff467c6ae2be4443de1b6cf87b7eb802aff2e'
'cf812140e172fafd83dd662dada06e77ce4e14cc04f38216c23c32dace63cc45')
prepare() {
cd $pkgname-$_commit
......@@ -29,11 +31,14 @@ prepare() {
build() {
cd build
cmake -DVERSION="$_ver" ../$pkgname-$_commit
cmake -DVERSION="$_ver" -DCMAKE_INSTALL_PREFIX="/usr" ../$pkgname-$_commit
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
mv "${pkgdir}"/usr/bin/pamac-qt-app "${pkgdir}"/usr/bin/pamac-qt
mkdir -p "${pkgdir}"/usr/share/applications
install ../pamac-qt.desktop "${pkgdir}"/usr/share/applications/pamac-qt.desktop
}
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/usr/bin/pamac-qt
GenericName[en_US]=
GenericName=
Icon=system-software-install
MimeType=
Name[en_US]=Pamac-Qt
Name=Pamac-Qt
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Categories=Qt;System;Settings
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