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

[pkg-upd] 0.2.1-1

- second try
parent d0f3559b
......@@ -5,7 +5,7 @@ pkgname=('pamac-qt')
_pkgver=0.2.1
pkgver=0.2.1
pkgrel=1
_commit=76be9a7f0caed3dde2b972d88a43380d0851cb4c
_commit=f23e1c8336de912623cd55d632b65422297206cc
_ver="$pkgver-g${_commit:0:7}"
pkgdesc="A QT5 frontend for libalpm - early preview version"
arch=('i686' 'x86_64')
......@@ -16,27 +16,24 @@ 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"
'version.patch')
sha256sums=('09958c08ccefc1379261f0bbeafb1911a0bb151ad7bb3f05dfbe7808201a454c'
'd625c3b59ee3f9b0f1974351f48b34021f347c2e18c7d3fdd04c16b46837be1e')
"pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz")
sha256sums=('7340f24ac0372f586cfb23d40cdff467c6ae2be4443de1b6cf87b7eb802aff2e')
prepare() {
cd $pkgname-$_commit
patch -p0 -i ../version.patch
sed -i -e "s/VERSION/\"$_ver\"/" app/src/cpp/src/main.cpp
cd ..
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-$_commit
cmake -DVERSION="$_ver" ../$pkgname-$_commit
make
}
package() {
cd build
#cmake -P cmake_install.cmake
#make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" 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