summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-03-27 17:42:17 +0800
committerzxp198210052023-03-27 17:42:17 +0800
commitefa8ed8eb51c38b7d7972fc45390204a9ed439fd (patch)
tree3ecd786b38979ad9c23e09457b60b9e783fa8101
parent94395068fdd94c3cf190d8319694e862e9895e38 (diff)
downloadaur-efa8ed8eb51c38b7d7972fc45390204a9ed439fd.tar.gz
add license
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD19
2 files changed, 20 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 609b9ad9628d..1882a6ff7681 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,25 @@
pkgbase = stackzy-bin
pkgdesc = A cross-platform desktop application to identify libraries used inside an android application. Made possible by Compose Desktop
pkgver = 1.2.5
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/theapache64/stackzy
arch = x86_64
- license = Apache2
+ license = custom
depends = libxtst
depends = libglvnd
depends = fontconfig
- depends = libnet
depends = java-runtime
depends = libxrender
depends = alsa-lib
depends = hicolor-icon-theme
+ depends = glibc
+ depends = libxi
+ depends = libxext
+ depends = libx11
+ depends = zlib
source = stackzy-1.2.5.deb::https://github.com/theapache64/stackzy/releases/download/1.2.5/stackzy_1.2.5-1_amd64.deb
+ source = LICENSE::https://github.com/theapache64/stackzy/raw/master/LICENSE
sha256sums = 26c3727c54db393ca6a6debe72e42551c26f4a850167549159824d9e74d5e59f
+ sha256sums = d723b568739f559ac352884a347641e0499922597ff02606f4b645e49c714655
pkgname = stackzy-bin
diff --git a/PKGBUILD b/PKGBUILD
index 62eb9016e46f..967dd10ae3f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,23 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
-pkgname=stackzy-bin
_pkgname=stackzy
+pkgname="${_pkgname}-bin"
pkgver=1.2.5
-pkgrel=1
+pkgrel=2
pkgdesc="A cross-platform desktop application to identify libraries used inside an android application. Made possible by Compose Desktop"
arch=('x86_64')
url="https://github.com/theapache64/stackzy"
-license=('Apache2')
+license=(custom)
providers=(theapache64)
-options=()
-depends=(libxtst libglvnd fontconfig libnet java-runtime libxrender alsa-lib hicolor-icon-theme)
-source=("${_pkgname}-${pkgver}.deb::${url}/releases/download/${pkgver}/${_pkgname}_${pkgver}-1_amd64.deb")
-sha256sums=('26c3727c54db393ca6a6debe72e42551c26f4a850167549159824d9e74d5e59f')
+confilts=("${_pkgname}")
+depends=(libxtst libglvnd fontconfig java-runtime libxrender alsa-lib hicolor-icon-theme glibc libxi libxext libx11 zlib)
+source=("${_pkgname}-${pkgver}.deb::${url}/releases/download/${pkgver}/${_pkgname}_${pkgver}-1_amd64.deb"
+ "LICENSE::${url}/raw/master/LICENSE")
+sha256sums=('26c3727c54db393ca6a6debe72e42551c26f4a850167549159824d9e74d5e59f'
+ 'd723b568739f559ac352884a347641e0499922597ff02606f4b645e49c714655')
package() {
bsdtar -xf data.tar.xz -C "${pkgdir}"
sed 's/Icon=\/opt\/stackzy\/lib\/Stackzy.png/Icon=stackzy/g;s/Unknown/Utility;Development;/g' -i "${pkgdir}/opt/${_pkgname}/lib/${_pkgname}-Stackzy.desktop"
install -Dm644 "${pkgdir}/opt/${_pkgname}/lib/${_pkgname}-Stackzy.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
install -Dm644 "${pkgdir}/opt/${_pkgname}/lib/Stackzy.png" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.png"
-}
+ install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+} \ No newline at end of file