diff options
author | FabioLolix | 2023-02-07 22:12:45 +0100 |
---|---|---|
committer | FabioLolix | 2023-02-07 22:12:45 +0100 |
commit | 4ffcf2cbee95f8e6311b9f7baa997e91c1b710a6 (patch) | |
tree | f31d813e7380074df169360432dfff7e4841fc19 | |
download | aur-4ffcf2cbee95f8e6311b9f7baa997e91c1b710a6.tar.gz |
v0.3.0
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..187d2f188ef1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = alacenc + pkgdesc = Encode audio into the Apple Lossless Audio Codec (ALAC) format. (Git Version) + pkgver = 0.3.0 + pkgrel = 1 + url = https://github.com/flacon/alacenc + arch = x86_64 + license = MIT + makedepends = git + makedepends = cmake + depends = gcc-libs + source = git+https://github.com/flacon/alacenc.git#tag=v0.3.0 + sha256sums = SKIP + +pkgname = alacenc diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2187f46c1907 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com> + +pkgname=alacenc +pkgver=0.3.0 +pkgrel=1 +pkgdesc="Encode audio into the Apple Lossless Audio Codec (ALAC) format. (Git Version)" +arch=(x86_64) +url="https://github.com/flacon/alacenc" +license=(MIT) +depends=(gcc-libs) +makedepends=(git cmake) +source=("git+https://github.com/flacon/alacenc.git#tag=v${pkgver}") +sha256sums=('SKIP') + +build() { + cmake -S alacenc -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr + + cmake --build build +} + +package() { + DESTDIR="${pkgdir}" cmake --install build + install -Dm644 alacenc/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |