summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjie Pangestu2021-08-23 18:29:42 +0700
committerAjie Pangestu2021-08-23 18:29:42 +0700
commit1173228ea3c697f5747a64950174c6785f350db4 (patch)
tree50a6ed8bc9fb41d39b61d36d92cb9f6719ca4aa1
downloadaur-1173228ea3c697f5747a64950174c6785f350db4.tar.gz
initial release
-rw-r--r--.SRCINFO49
-rw-r--r--PKGBUILD23
-rw-r--r--mechvibes.install22
3 files changed, 94 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e965e8a7b03
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,49 @@
+pkgbase = mechvibes
+ pkgdesc = Play mechanical keyboard sounds as you type.
+ pkgver = 2.3.0
+ pkgrel = 1
+ url = https://mechvibes.com
+ install = mechvibes.install
+ arch = x86_64
+ groups =
+ license = GNU
+ depends = alsa-lib
+ depends = atk
+ depends = at-spi2-atk
+ depends = at-spi2-core
+ depends = cairo
+ depends = dbus
+ depends = desktop-file-utils
+ depends = discord
+ depends = expat
+ depends = gdk-pixbuf2
+ depends = glib2
+ depends = gtk3
+ depends = hicolor-icon-theme
+ depends = libappindicator-gtk3
+ depends = libcups
+ depends = libnotify
+ depends = libsecret
+ depends = libx11
+ depends = libxcb
+ depends = libxcomposite
+ depends = libxcursor
+ depends = libxdamage
+ depends = libxext
+ depends = libxfixes
+ depends = libxi
+ depends = libxrandr
+ depends = libxrender
+ depends = libxss
+ depends = libxtst
+ depends = nspr
+ depends = nss
+ depends = pango
+ depends = util-linux-libs
+ depends = xdg-utils
+ options = !strip
+ options = !emptydirs
+ source = https://github.com/hainguyents13/mechvibes/releases/download/v{2.3.0}/mechvibes_2.3.0_amd64.deb
+ sha512sums_x86_64 = 1291cfc3742149a0d6a9defdbf6d7af89a5fe10949df5d49dd7123ee6594087de2af5758991a0e5a629c1e5a3c2303b161c963ccd24cb829cc81daa2c4b1a712
+
+pkgname = mechvibes
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b644b1c7510
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Generated by debtap
+# Maintainer: ajiepangestu
+# Contributor:
+pkgname=mechvibes
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="Play mechanical keyboard sounds as you type."
+arch=('x86_64')
+url="https://mechvibes.com"
+license=('GNU')
+groups=('')
+depends=('alsa-lib' 'atk' 'at-spi2-atk' 'at-spi2-core' 'cairo' 'dbus' 'desktop-file-utils' 'discord' 'expat' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme' 'libappindicator-gtk3' 'libcups' 'libnotify' 'libsecret' 'libx11' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst' 'nspr' 'nss' 'pango' 'util-linux-libs' 'xdg-utils')
+options=('!strip' '!emptydirs')
+install=${pkgname}.install
+source=("https://github.com/hainguyents13/mechvibes/releases/download/v{$pkgver}/mechvibes_${pkgver}_amd64.deb")
+sha512sums_x86_64=('1291cfc3742149a0d6a9defdbf6d7af89a5fe10949df5d49dd7123ee6594087de2af5758991a0e5a629c1e5a3c2303b161c963ccd24cb829cc81daa2c4b1a712')
+
+package(){
+
+ # Extract package data
+ tar xf data.tar.xz -C "${pkgdir}"
+
+}
diff --git a/mechvibes.install b/mechvibes.install
new file mode 100644
index 00000000000..99a9edf2b00
--- /dev/null
+++ b/mechvibes.install
@@ -0,0 +1,22 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+
+ # Link to the binary
+ ln -sf '/opt/Mechvibes/mechvibes' '/usr/bin/mechvibes'
+
+ update-mime-database /usr/share/mime || true
+ update-desktop-database /usr/share/applications || true
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+
+ # Delete the link to the binary
+ rm -f '/usr/bin/mechvibes'
+ update-desktop-database -q
+}