-
-
Save zearan/695cf0db2ec342bab57f730d6dec2443 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 2e02576..b973ebf 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -12,9 +12,11 @@ makedepends=('python-poetry') | |
source=( | |
"$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz" | |
"$pkgname.svg::https://raw.githubusercontent.com/Nitrokey/nitrokey-app2/main/nitrokeyapp/ui/icons/nitrokey-app-icon-vector.svg" | |
+ "$pkgname.desktop" | |
) | |
sha256sums=('a439b98d4304597d91c90812e8ae366b209015295e21045330e1141fe48c4e5e' | |
- 'e49609f53b375f9eb69d7024699e403ad6913f40453bfe2bdf1bab362e78206e') | |
+ 'e49609f53b375f9eb69d7024699e403ad6913f40453bfe2bdf1bab362e78206e' | |
+ 'de1159ce2334742b1c5fb8e521b05ccb6adff53603902579d568199e145de288') | |
build() { | |
cd ${pkgname}-${pkgver} | |
@@ -22,8 +24,8 @@ build() { | |
} | |
package() { | |
- install -Dv ../nitrokey-app2.desktop "$pkgdir/usr/share/applications/nitrokey-app2.desktop" | |
- install -Dv nitrokey-app2.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/nitrokey-app2.svg" | |
+ install -Dv nitrokey-app2.desktop "$pkgdir/usr/share/applications/nitrokey-app2.desktop" | |
+ install -Dv nitrokey-app2.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/nitrokey-app2.svg" | |
cd ${pkgname}-${pkgver} | |
python -m installer --destdir="${pkgdir}" dist/*.whl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment