From 7b9f54b9094c094e1131d0784eb680e9f56c2114 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 1 Jun 2024 14:37:01 +0200 Subject: Add alsause MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- alsause/PKGBUILD | 24 ++++++++++++++++++++++++ alsause/upload | 1 + 2 files changed, 25 insertions(+) create mode 100644 alsause/PKGBUILD create mode 120000 alsause/upload (limited to 'alsause') diff --git a/alsause/PKGBUILD b/alsause/PKGBUILD new file mode 100644 index 0000000..e8fdc32 --- /dev/null +++ b/alsause/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=alsause +pkgver=1.0 +pkgrel=1 +pkgdesc="Set default ALSA PCM device" +url='https://codeberg.org/maandree/alsause' +arch=(i686 x86_64) +license=('custom:ISC') +depends=(libsimple libasound.so) +makedepends=(libsimple libasound.so) +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha512sums=(e33c60915fcd8b54c13f685ed588480a27c7ce691ae1775eab639855e03561b7b00713c8759ade5eaeb5565c9a706043c90500fb869d8752381fbdc4a175a545) + +build () { + cd "$srcdir/alsause" + make PREFIX=/usr +} + +package () { + cd "$srcdir/alsause" + make PREFIX=/usr DESTDIR="$pkgdir" install + make PREFIX=/usr DESTDIR="$pkgdir" post-install +} diff --git a/alsause/upload b/alsause/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/alsause/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2