diff options
author | Hanabishi | 2023-02-08 18:10:01 +0500 |
---|---|---|
committer | Hanabishi | 2023-02-08 18:10:01 +0500 |
commit | 8a186776852fa373742d549c714f0fc7a650cd88 (patch) | |
tree | 1c8af73b1a35ef4fbdb7894dc7e8c8136e3f1c8a | |
parent | 63011d7a579169de013fc77915aee51e5ffd0bcc (diff) | |
download | aur-8a186776852fa373742d549c714f0fc7a650cd88.tar.gz |
Minor package improvement
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 4 insertions, 7 deletions
@@ -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 @@ -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" } |