summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbegin-theadventure2023-08-29 13:51:48 +0200
committerbegin-theadventure2023-08-29 13:51:48 +0200
commit6b7e35cd45388b113559fc4e044a9083d46b0e2d (patch)
tree9b8c9f6c7b0c71f4f343b9d19915a384ea7e6ece
parentd344e4abf16084978a961db6487d4f3ff2002ec0 (diff)
downloadaur-6b7e35cd45388b113559fc4e044a9083d46b0e2d.tar.gz
shorten link, strip ico metadata, don't install doc/license
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
2 files changed, 5 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2e38fa24c9c9..6930cd622cbb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mdlshit-bin
pkgdesc = source engine .mdl v49 -> v53 converter (binary release)
pkgver = 2.3.2
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/headassbtw/mdlshit
arch = x86_64
license = GPL2
@@ -9,12 +9,8 @@ pkgbase = mdlshit-bin
provides = mdlshit
conflicts = mdlshit
source = mdlshit-2.3.2.tar.gz::https://github.com/headassbtw/mdlshit/releases/download/2.3.2/mdlshit_linux_x64.tar.gz
- source = https://raw.githubusercontent.com/headassbtw/mdlshit/2.3.2/product.ico
- source = https://raw.githubusercontent.com/headassbtw/mdlshit/2.3.2/README.md
- source = https://raw.githubusercontent.com/headassbtw/mdlshit/2.3.2/LICENSE
+ source = https://github.com/headassbtw/mdlshit/raw/2.3.2/product.ico
sha256sums = b01aa6f2d2f96982399faff8f177a96df3538ce75771aa9445c03b519cb8ecb0
sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
pkgname = mdlshit-bin
diff --git a/PKGBUILD b/PKGBUILD
index 7b51f90c2b40..effe02ad53d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=mdlshit
pkgname=$_pkgname-bin
pkgver=2.3.2
-pkgrel=2
+pkgrel=3
pkgdesc="source engine .mdl v49 -> v53 converter (binary release)"
arch=('x86_64')
url="https://github.com/headassbtw/mdlshit"
@@ -12,12 +12,8 @@ makedepends=('imagemagick')
conflicts=($_pkgname)
provides=($_pkgname)
source=("$_pkgname-$pkgver.tar.gz::$url/releases/download/$pkgver/${_pkgname}_linux_x64.tar.gz"
- "https://raw.githubusercontent.com/headassbtw/mdlshit/$pkgver/product.ico"
- "https://raw.githubusercontent.com/headassbtw/mdlshit/$pkgver/README.md"
- "https://raw.githubusercontent.com/headassbtw/mdlshit/$pkgver/LICENSE")
+ "$url/raw/$pkgver/product.ico")
sha256sums=('b01aa6f2d2f96982399faff8f177a96df3538ce75771aa9445c03b519cb8ecb0'
- 'SKIP'
- 'SKIP'
'SKIP')
prepare() {
@@ -33,13 +29,11 @@ prepare() {
sed -i '1 i\[Desktop Entry]' desktop
mv desktop $pkgname.desktop
- convert product.ico $_pkgname.png
+ convert product.ico -strip $_pkgname.png
}
package() {
install -Dm644 $_pkgname.png -t "$pkgdir/usr/share/pixmaps"
install -Dm644 $pkgname.desktop -t "$pkgdir/usr/share/applications"
- install -Dm644 README.md -t "$pkgdir/usr/share/doc/$_pkgname"
- install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname"
install -Dm755 $_pkgname -t "$pkgdir/usr/bin"
}