summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanabishi2023-06-30 14:36:33 +0000
committerHanabishi2023-06-30 14:36:33 +0000
commita4804123b9b43adbadc0ea204e5d1122213249e5 (patch)
tree603f7a87a1899a9241ae47664313138ceb2705d0
parentc679d4eed05170227aa1e557b21c454d17b7f2ce (diff)
downloadaur-a4804123b9b43adbadc0ea204e5d1122213249e5.tar.gz
Upstream changes (fixed wrong app version)
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 4 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3741dd463664..310bd416f14b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = torrent-file-editor
pkgdesc = Qt based GUI tool designed to create and edit .torrent files
pkgver = 0.3.18
- pkgrel = 1
+ pkgrel = 2
url = https://torrent-file-editor.github.io/
arch = x86_64
license = GPL3
@@ -9,6 +9,6 @@ pkgbase = torrent-file-editor
makedepends = qt5-tools
depends = qt5-base
source = https://github.com/torrent-file-editor/torrent-file-editor/releases/download/v0.3.18/torrent-file-editor-0.3.18.tar.gz
- sha256sums = 29977de90102242eb3136031f167a8614efb852519bdc515393191b9088e171c
+ sha256sums = 78b69e0151c5998b4df8b69225e7930c18b7d4419eeaabcad769df0f38a86292
pkgname = torrent-file-editor
diff --git a/PKGBUILD b/PKGBUILD
index b1f31a704933..71214ad0a647 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=torrent-file-editor
pkgver=0.3.18
-pkgrel=1
+pkgrel=2
pkgdesc='Qt based GUI tool designed to create and edit .torrent files'
arch=('x86_64')
url="https://${pkgname}.github.io/"
@@ -21,12 +21,7 @@ fi
_snapshot="${pkgname}-${pkgver}"
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${_snapshot}.tar.gz")
-sha256sums=('29977de90102242eb3136031f167a8614efb852519bdc515393191b9088e171c')
-
-prepare() {
- # Fix wrong app version in the source
- sed -i "s/set(APP_VERSION .*)/set(APP_VERSION \"${pkgver}\")/;" "${_snapshot}/CMakeLists.txt"
-}
+sha256sums=('78b69e0151c5998b4df8b69225e7930c18b7d4419eeaabcad769df0f38a86292')
build() {
cmake -B "build" -S "${_snapshot}" \