summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f3e764069e67705e983a704cc6de18f87857bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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' '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")
md5sums=('953bf957b816a0f1c140e1b6b0b57065')

package(){

	# Extract package data
	tar xf data.tar.xz -C "${pkgdir}"
	# Install Icon
	for i in 16x16 24x24 32x32 48x48 64x64 128x128 256x256; do
		install -Dm644 "$pkgdir"/usr/share/icons/hicolor/0x0/apps/"$pkgname".png \
		"$pkgdir"/usr/share/icons/hicolor/"$i"/apps/"$pkgname".png 
	done
}