summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsl1pkn072015-10-10 19:44:05 +0200
committersl1pkn072015-10-10 19:44:05 +0200
commitd06151545d3c93f4c3a3b5052ae407f5c75d1151 (patch)
tree1a9bcee154838a43c121056dd1a161da47affcbd
parent715a1cabd4ee860315a80eeb64ddf483ad8f9c19 (diff)
downloadaur-d06151545d3c93f4c3a3b5052ae407f5c75d1151.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
-rw-r--r--partitionmanager-git.install6
3 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9c23870157d3..8c2fac0f9f11 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = partitionmanager-git
- pkgdesc = A KDE utility that allows you to manage disks, partitions, and file systems
- pkgver = 1.2.1.r923.11b0971
+ pkgdesc = A KDE utility that allows you to manage disks, partitions, and file systems. (GIT version)
+ pkgver = 1.9.50.r944.de9f34a
pkgrel = 1
- url = http://kde.org/applications/system/kdepartitionmanager/
+ url = http://kde.org/applications/system/kdepartitionmanager
install = partitionmanager-git.install
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 410bb6d9d720..bbb90a9e0bdc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,11 @@
# Contributor: A Rojas < nqn1976 @ gmail.com >
pkgname=partitionmanager-git
-pkgver=1.2.1.r923.11b0971
+pkgver=1.9.50.r944.de9f34a
pkgrel=1
-pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems"
+pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems. (GIT version)"
arch=('i686' 'x86_64')
-url='http://kde.org/applications/system/kdepartitionmanager/'
+url='http://kde.org/applications/system/kdepartitionmanager'
license=('GPL2')
depends=('kpmcore-git' 'hicolor-icon-theme')
conflicts=('partitionmanager')
@@ -24,8 +24,8 @@ install=partitionmanager-git.install
pkgver() {
cd partitionmanager
- _ver="$(cat CMakeLists.txt | grep -e VERSION_MAJOR -e VERSION_MINOR -e VERSION_RELEASE | head -n3 | cut -d '"' -f2)"
- echo "$(echo ${_ver} | tr ' ' .).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ _ver="$(cat CMakeLists.txt | grep -m3 -e VERSION_MAJOR -e VERSION_MINOR -e VERSION_RELEASE | cut -d '"' -f2 | paste -sd'.')"
+ echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
diff --git a/partitionmanager-git.install b/partitionmanager-git.install
index e70c054ec6ad..1c0de2e4fa61 100644
--- a/partitionmanager-git.install
+++ b/partitionmanager-git.install
@@ -1,11 +1,11 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
- post_install
+ post_install
}
post_remove() {
- post_install
+ post_install
}