blob: e573274369df57f8d494b61b3083a1afbe6112c2 (
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
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Alex Palaistras <alex+archlinux@deuill.org>
_pkgname=elektroid
pkgname=$_pkgname-git
pkgver=2.0.beta.r101.ge94eb07
pkgrel=1
pkgdesc="GNU/Linux transfer application for Elektron devices"
arch=('i686' 'x86_64')
url="https://github.com/dagargo/elektroid"
license=('GPL-3.0')
depends=('gtk3' 'alsa-lib' 'libpulse' 'libsndfile' 'libsamplerate' 'zlib' 'json-glib' 'libzip')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/dagargo/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$_pkgname"
autoreconf --install
}
build() {
cd "$_pkgname"
./configure --prefix=/usr
make
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir" install
}
|