diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fffe4c4761d0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = cv_to_cc.lv2 + pkgdesc = Convert LV2 CV to MIDI CV + pkgver = r1.04adeed + pkgrel = 1 + url = https://github.com/polyeffects/cv_to_cc.lv2 + arch = x86_64 + license = GPL + depends = lv2 + source = git+https://github.com/polyeffects/cv_to_cc.lv2 + md5sums = SKIP + +pkgname = cv_to_cc.lv2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1b4897997eb5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Milkii Brewster <milkii on Freenode IRC> +maintaner="Milkii Brewster <milkii on Freenode IRC>" +pkgname=cv_to_cc.lv2 +pkgdesc="Convert LV2 CV to MIDI CV" +pkgver=r1.04adeed +pkgrel=1 +epoch= +arch=(x86_64) +url="https://github.com/polyeffects/cv_to_cc.lv2" +license=(GPL) +groups=() +depends=(lv2) +makedepends=() +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=(git+https://github.com/polyeffects/cv_to_cc.lv2) +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +prepare() { + cd "$pkgname" +} + +build() { + cd "$pkgname" + # ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir/" install +} |