summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanabishi2023-02-08 18:10:01 +0500
committerHanabishi2023-02-08 18:10:01 +0500
commit8a186776852fa373742d549c714f0fc7a650cd88 (patch)
tree1c8af73b1a35ef4fbdb7894dc7e8c8136e3f1c8a
parent63011d7a579169de013fc77915aee51e5ffd0bcc (diff)
downloadaur-8a186776852fa373742d549c714f0fc7a650cd88.tar.gz
Minor package improvement
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 4 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6dd7e64c7339..c940f12052f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = torrent-file-editor
pkgdesc = Cross-platform application intended to create and edit .torrent and uTorrent .dat files.
pkgver = 0.3.17
- pkgrel = 2
+ pkgrel = 3
url = https://torrent-file-editor.github.io/
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 215a766d129d..ec0d81157077 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=torrent-file-editor
pkgver=0.3.17
-pkgrel=2
+pkgrel=3
pkgdesc='Cross-platform application intended to create and edit .torrent and uTorrent .dat files.'
arch=('x86_64')
url="https://${pkgname}.github.io/"
@@ -15,8 +15,7 @@ source=("${pkgname}-${pkgver}-${_commit:0:7}.tar.gz::https://github.com/${pkgnam
sha256sums=('a0fcfd43f7fb641e64a32919921761df84e06d78531ad45070f367a1f01e7e6e')
build() {
- cmake -B "build" "${_snapshot}" \
- -DCMAKE_BUILD_TYPE=Release \
+ cmake -B "build" -S "${_snapshot}" \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build "build"
@@ -24,7 +23,5 @@ build() {
package() {
DESTDIR="${pkgdir}" cmake --install "build"
-
- cd "${_snapshot}"
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE"
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${_snapshot}/LICENSE"
}