diff options
author | Claudio Cabral | 2022-03-30 20:00:10 +0200 |
---|---|---|
committer | Claudio Cabral | 2022-03-30 20:00:10 +0200 |
commit | 7894b109653e7d15601b147fec89ce56be228c6d (patch) | |
tree | 27bac4dfbedd7d74a4716c420848eb49d96c8194 | |
download | aur-7894b109653e7d15601b147fec89ce56be228c6d.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..473b10d1c80a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = alsa-scarlett-gui-git + pkgdesc = Gtk4 GUI for the Focusrite Scarlett Gen 2/3 ALSA Mixer Driver. + pkgver = 0.2.3.gb9f0 + pkgrel = 1 + url = https://github.com/geoffreybennett/alsa-scarlett-gui + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = gcc + makedepends = make + makedepends = git + makedepends = pkgconf + depends = gtk4 + depends = alsa-lib + provides = alsa-scarlett-gui + source = alsa-scarlett-gui::git+https://github.com/geoffreybennett/alsa-scarlett-gui.git + sha384sums = SKIP + +pkgname = alsa-scarlett-gui-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c5b229619c89 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +pkgname='alsa-scarlett-gui-git' +_pkgname='alsa-scarlett-gui' +pkgver=0.2.3.gb9f0 +pkgrel=1 +pkgdesc="Gtk4 GUI for the Focusrite Scarlett Gen 2/3 ALSA Mixer Driver." +arch=('i686' 'x86_64') +url="https://github.com/geoffreybennett/alsa-scarlett-gui" +license=('GPL3') +depends=('gtk4' 'alsa-lib') +makedepends=('gcc' 'make' 'git' 'pkgconf') +provides=('alsa-scarlett-gui') +source=("$_pkgname::git+https://github.com/geoffreybennett/alsa-scarlett-gui.git") +sha384sums=('SKIP') + +pkgver() { + cd "$_pkgname" + echo "$(git describe --abbrev=4 --always --tags | sed 's/-/./g')" +} + +build() { + cd $_pkgname + make -C src + } + +package() { + cd "$srcdir/$_pkgname" + PREFIX="${pkgdir}/usr" make -C src install +} |