summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Wilper2019-03-30 00:06:29 +0100
committerSimon Wilper2019-03-30 00:06:29 +0100
commitfb8497932aa923966fe45b4b1a3c710ab255cdbd (patch)
treeb07dda2832238797c10badbc96d5eb4eca0a0988
parent6bd47bcd3d17ca3501317af600bf32d0ff26c409 (diff)
downloadaur-fb8497932aa923966fe45b4b1a3c710ab255cdbd.tar.gz
re-uploaded git archive to chronowerks
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD19
2 files changed, 14 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da6550bf352..9a69db22516 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,30 +1,15 @@
pkgbase = unit-convert
pkgdesc = Qt Unit Conversion Tool
pkgver = 2.2.0
- pkgrel = 1
- url = https://github.com/simonaw/unit-convert/
+ pkgrel = 3
+ url = https://www.chronowerks.de/pub/
arch = x86_64
arch = i686
license = LGPL2
depends = qt5-base
depends = qt5-script
- source = https://github.com/simonaw/unit-convert/archive/2.2.0.tar.gz
- sha512sums = 8e7a2671139f792f60d40cd64e791adc18f14de1556dc0d77ec07033bba1fb9aca8723b1ec864c22f1027a59d8442b4144d675ac1c9625d095a0af8ec6c03564
-
-pkgname = unit-convert
-
-pkgbase = unit-convert
- pkgdesc = Qt Unit Conversion Tool
- pkgver = 2.2.0
- pkgrel = 2
- url = https://www.chronowerks.de/cgit/unit-convert/
- arch = x86_64
- arch = i686
- license = LGPL2
- depends = qt5-base
- depends = qt5-script
- source = https://www.chronowerks.de/cgit/unit-convert/snapshot/unit-convert-2.2.0.tar.bz2
- sha512sums = 8713705f3801e44a2280020d0c2255958b84db869dc05cf3c5c5b3e49b1e0b460c50ba7ae72143db311726ace0d9cb2739d7a95c4a1b595e2d27b5038b82cb35
+ source = https://www.chronowerks.de/pub/unit-convert-2.2.0.tar.gz
+ sha512sums = 7cb1663adaa8137f6521b866d781e3e3a8123c29f4f0fd4a378ae1ddd4d2aaecddad6448736aea2747d36e004e4943c5b0dda52b04661a2200dfb32f237a03c4
pkgname = unit-convert
diff --git a/PKGBUILD b/PKGBUILD
index e90372b5be1..91f6d6c3936 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,25 @@
# Maintainer: Simon Wilper <sxw@chronowerks.de>
pkgname=unit-convert
pkgver=2.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="Qt Unit Conversion Tool"
-url="https://www.chronowerks.de/cgit/unit-convert/"
+url="https://www.chronowerks.de/pub/"
arch=('x86_64' 'i686')
license=('LGPL2')
depends=('qt5-base' 'qt5-script')
-source=("https://www.chronowerks.de/cgit/unit-convert/snapshot/unit-convert-${pkgver}.tar.bz2")
-sha512sums=('8713705f3801e44a2280020d0c2255958b84db869dc05cf3c5c5b3e49b1e0b460c50ba7ae72143db311726ace0d9cb2739d7a95c4a1b595e2d27b5038b82cb35')
+source=("https://www.chronowerks.de/pub/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('7cb1663adaa8137f6521b866d781e3e3a8123c29f4f0fd4a378ae1ddd4d2aaecddad6448736aea2747d36e004e4943c5b0dda52b04661a2200dfb32f237a03c4')
build() {
cd "${pkgname}-${pkgver}"
- qmake
+ qmake convert.pro
make
+ rcc --verbose --compress 9 --binary -o data.rcc res/main.qrc
}
package() {
- local t=opt/${pkgname}
- install -d -m755 ${pkgdir}/$t/
- install -m755 ${srcdir}/${pkgname}-${pkgver}/bin/convert ${pkgdir}/$t/
- install -m644 ${srcdir}/${pkgname}-${pkgver}/bin/data.rcc ${pkgdir}/$t/
+ install -d -m755 ${pkgdir}/usr/share/convert/
+ install -d -m755 ${pkgdir}/usr/bin/
+ install -m755 ${srcdir}/${pkgname}-${pkgver}/bin/convert ${pkgdir}/usr/bin/unit-convert
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/data.rcc ${pkgdir}/usr/share/convert/
}