summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorasukaminato2023-02-18 14:24:30 +0900
committerasukaminato2023-02-18 14:24:30 +0900
commit88f24b1369ec44f4e9408716e2cb3b1e9757f370 (patch)
tree9afc241d0dd311fb52a601fe88efa15be7085ad3 /PKGBUILD
parent02e1b13e31a65dd42bb0e92032dec339e4a80c25 (diff)
downloadaur-88f24b1369ec44f4e9408716e2cb3b1e9757f370.tar.gz
put bin into /usr/bin/
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f69f764394e3..303ed240aa28 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: Bradley Nelson <bradleynelson102 at gmail dot com>
+# Maintainer: asukaminato <asukaminato at nyan dot eu dot org>
+# Contributor: Bradley Nelson <bradleynelson102 at gmail dot com>
# Contributor: liberodark Frederic Bezies
pkgname=stacer-bin
@@ -10,17 +11,13 @@ url="https://github.com/oguzhaninan/Stacer"
license=('GPL3')
depends=('qt5-charts' 'qt5-svg' 'hicolor-icon-theme')
source_x86_64=("https://github.com/oguzhaninan/Stacer/releases/download/v${pkgver}/stacer_${pkgver}_amd64.deb")
-source=($pkgname.desktop)
-sha512sums=('c1935570166c402295d92dad30fe7b4e8189a869561d56bd8d5244138de11d4fa16145ad017f9e7b22733fb7de8a6b79708aba595a80bce7bbe0a037da63260f')
sha512sums_x86_64=('19bcb87f3d99ce090ab1fb917f65f7dd74f0b1e4fc19272eae0ad8d5c66d3dbe53cbdb50841bbd9a0e16f03201cd6cc5f0bc1a57eda41fd096ed275cf762d84a')
options=('!strip')
conflicts=('stacer' 'stacer-git')
-
+provieds=('stacer')
+
package() {
- cd $srcdir
- tar xvf data.tar.xz
- cp -r usr $pkgdir
- rm $pkgdir/usr/share/applications/stacer.desktop
- install -vDm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+ tar xpvf data.tar.xz -C "${pkgdir}"
+ install -Dm755 "${pkgdir}/usr/share/stacer/AppRun" "${pkgdir}/usr/bin/stacer"
}