diff options
author | antheas | 2024-02-23 02:09:55 +0100 |
---|---|---|
committer | antheas | 2024-02-23 02:09:55 +0100 |
commit | 91bb3904b25ff4e1745a0bee90cf6e405b7d1542 (patch) | |
tree | b3fd104ef72cacacdf180a62217c5c2c0065fe68 | |
parent | 1e13e2f9600852c5b02694f87a349cbaa35187e7 (diff) | |
download | aur-91bb3904b25ff4e1745a0bee90cf6e405b7d1542.tar.gz |
fix pkgbuild manually with correct data
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | hhd-ui.desktop | 9 | ||||
-rw-r--r-- | hhd-ui.sh | 4 | ||||
-rw-r--r-- | v1.0.3.tar.gz | bin | 223890 -> 0 bytes |
5 files changed, 7 insertions, 26 deletions
@@ -1,7 +1,7 @@ pkgbase = hhd-ui pkgdesc = Configurator interface for Handheld Daemon. pkgver = 1.1.0 - pkgrel = 1 + pkgrel = 2 url = https://hhd.dev arch = x86_64 license = MIT @@ -12,10 +12,6 @@ pkgbase = hhd-ui optdepends = hhd: a version of Handheld Daemon to connect to (also works over the network). conflicts = hhd-ui source = https://github.com/hhd-dev/hhd-ui/archive/refs/tags/v1.1.0.tar.gz - source = hhd-ui.desktop - source = hhd-ui.sh sha512sums = 68114c667d6b5aad5e77b2679709480402f5538bff79ff9f770aacbf45ec1b1133112e6b969ba494417ca0691f4f1084b5c0db22b36500ce8216dd15866d2bfd - sha512sums = 598e77e42769adf69b78b39e784c24bb53202039316309c216ab1bb17d55f1820dadd453234085118aa3563d1593105b6287d793e58c5246bb71ec260103da28 - sha512sums = 3f3a0b215d241b2c9f37efa3ce66adf1f1f58dc651853c924ac44c597b6b6b813548af4aba58c3c030ccbb56264bf4bb5e3d2b5a7be5098650e2581adf70645a pkgname = hhd-ui @@ -4,7 +4,7 @@ _electronversion=28 _pkgname=hhd-ui pkgname=$_pkgname pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Configurator interface for Handheld Daemon." arch=('x86_64') # provides=("${_pkgname}") @@ -15,16 +15,14 @@ depends=("electron$_electronversion") optdepends=('hhd: a version of Handheld Daemon to connect to (also works over the network).') makedepends=('asar' 'libxss' 'npm') _srcname=hhd-ui-$pkgver -source=("https://github.com/hhd-dev/hhd-ui/archive/refs/tags/v${pkgver}.tar.gz" "hhd-ui.desktop" "hhd-ui.sh") -sha512sums=('68114c667d6b5aad5e77b2679709480402f5538bff79ff9f770aacbf45ec1b1133112e6b969ba494417ca0691f4f1084b5c0db22b36500ce8216dd15866d2bfd' - '598e77e42769adf69b78b39e784c24bb53202039316309c216ab1bb17d55f1820dadd453234085118aa3563d1593105b6287d793e58c5246bb71ec260103da28' - '3f3a0b215d241b2c9f37efa3ce66adf1f1f58dc651853c924ac44c597b6b6b813548af4aba58c3c030ccbb56264bf4bb5e3d2b5a7be5098650e2581adf70645a') +source=("https://github.com/hhd-dev/hhd-ui/archive/refs/tags/v${pkgver}.tar.gz") +sha512sums=('68114c667d6b5aad5e77b2679709480402f5538bff79ff9f770aacbf45ec1b1133112e6b969ba494417ca0691f4f1084b5c0db22b36500ce8216dd15866d2bfd') prepare() { export ELECTRONVERSION=$_electronversion - sed -i "s|@electronversion@|${ELECTRONVERSION}|" "$srcdir/hhd-ui.sh" cd $_srcname + sed -i "s|@electronversion@|${ELECTRONVERSION}|" "./aur/hhd-ui.sh" npm ci sed -i "s|"version": "1.0.0"|"version": "${pkgver}"|" "package.json" cd ./electron @@ -45,13 +43,13 @@ build() { package() { # Install the app - cd $_srcname/electron + cd $srcdir/$_srcname/electron install -vDm644 ./dist/linux-unpacked/resources/app.asar -t "${pkgdir}/usr/lib/${_pkgname}" install -vDm644 ./package.json -t "${pkgdir}/usr/lib/${_pkgname}" install -vDm644 ./icon/android-chrome-512x512.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${pkgname}.png" # Install the icons - cd $_srcname + cd $srcdir/$_srcname install -vDm644 ./art/library_capsule.png "${pkgdir}/usr/share/applications/${pkgname}/library_capsule.png" install -vDm644 ./art/library_hero.png "${pkgdir}/usr/share/applications/${pkgname}/library_hero.png" install -vDm644 ./art/library_logo.png "${pkgdir}/usr/share/applications/${pkgname}/library_logo.png" diff --git a/hhd-ui.desktop b/hhd-ui.desktop deleted file mode 100644 index 5a3f3ff8cc9d..000000000000 --- a/hhd-ui.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Handheld Daemon -GenericName=Controller Settings -Comment="Configurator interface for Handheld Daemon." -Exec=hhd-ui -Terminal=false -Type=Application -Icon=hhd-ui -Categories=Gaming; diff --git a/hhd-ui.sh b/hhd-ui.sh deleted file mode 100644 index 9ab2bf358203..000000000000 --- a/hhd-ui.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -export ELECTRON_IS_DEV=0 -cd /usr/lib/hhd-ui -exec electron@electronversion@ /usr/lib/hhd-ui/app.asar $@ diff --git a/v1.0.3.tar.gz b/v1.0.3.tar.gz Binary files differdeleted file mode 100644 index 212ee7d8128d..000000000000 --- a/v1.0.3.tar.gz +++ /dev/null |