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..30466a2 --- /dev/null +++ b/reco/PKGBUILD | |||
@@ -0,0 +1,25 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: Caltlgin Stsodaat <[email protected]> | ||
3 | |||
4 | pkgname='reco' | ||
5 | pkgver=5.0.2 | ||
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=('c63206e107e571ebfdda2975ac1aea9a5c1b078ac225d5d1fa293e99f8079667') | ||
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 | } | ||