diff options
Diffstat (limited to 'reco/PKGBUILD')
-rw-r--r-- | reco/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/reco/PKGBUILD b/reco/PKGBUILD new file mode 100644 index 0000000..62d5fd0 --- /dev/null +++ b/reco/PKGBUILD | |||
@@ -0,0 +1,25 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz> | ||
3 | |||
4 | pkgname='reco' | ||
5 | pkgver=5.0.1 | ||
6 | pkgrel=1 | ||
7 | pkgdesc='An audio recording app designed for elementary OS' | ||
8 | arch=('x86_64') | ||
9 | url='https://github.com/ryonakano/reco' | ||
10 | license=('GPL3') | ||
11 | depends=('granite7' 'gstreamer' 'libpulse' 'ryokucha' 'live-chart') | ||
12 | makedepends=('meson' 'vala' 'libhandy') | ||
13 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") | ||
14 | sha256sums=('7b8639146d0740798bd844d0b9f005c03acd37f8f87e63f09b8f71270084c664') | ||
15 | |||
16 | build() { | ||
17 | arch-meson "${pkgname}-${pkgver}" build -Duse_submodule=false | ||
18 | meson compile -C build | ||
19 | } | ||
20 | |||
21 | package() { | ||
22 | DESTDIR="${pkgdir}" meson install -C build | ||
23 | ln -s /usr/bin/com.github.ryonakano.reco "${pkgdir}/usr/bin/reco" | ||
24 | install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${pkgname}-${pkgver}/README.md" | ||
25 | } | ||