summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Simmonds2019-10-29 21:31:57 +0000
committerNathan Simmonds2019-10-29 21:31:57 +0000
commit1cd5b9496f46d7c3dca1f724df436e2ae55c87c7 (patch)
tree075264d5b325f2f78b6f508d0bccef75122a2126
parent14ebc7066d7b13f560dd1213bfe26f510db2ae0b (diff)
downloadaur-1cd5b9496f46d7c3dca1f724df436e2ae55c87c7.tar.gz
test
-rw-r--r--PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5c4cfcfdf66..8f66c63dd32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,19 +15,20 @@ backup=()
install=
source=("https://github.com/I-Dream-in-Code/kde-arch-update-plasmoid/archive/$pkgver.tar.gz")
md5sums=("SKIP")
-pkgver() {
- cd "$srcdir/kde-arch-update-plasmoid"
- # cutting off 'foo-' prefix that presents in the git tag
- printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')"
-}
+
+# pkgver() {
+# cd "$srcdir/kde-arch-update-plasmoid"
+# # cutting off 'foo-' prefix that presents in the git tag
+# printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')"
+# }
build() {
- cd kde-arch-update-plasmoid
+ cd "$pkgname-$pkgver"
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
}
package(){
- cd ${srcdir}/kde-arch-update-plasmoid/build
- make DESTDIR="$pkgdir" install
+ cd "$pkgname-$pkgver"
+ make install
}