diff options
author | imlonghao | 2020-01-30 10:55:55 +0000 |
---|---|---|
committer | imlonghao | 2020-01-30 10:56:13 +0000 |
commit | 4ff782d1c46a86a27372b63a743853c11432de15 (patch) | |
tree | 291f02c35c00849c8380861ff42d97dfdc1a9f5c /PKGBUILD | |
download | aur-4ff782d1c46a86a27372b63a743853c11432de15.tar.gz |
Add new package byte
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..07a43d3aeb38 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Hao Long <aur@esd.cc> + +pkgname=byte +pkgver=0.3.1 +pkgrel=1 +pkgdesc="A Music Player designed for elementary OS" +arch=("x86_64") +url="https://github.com/alainm23/byte" +license=("GPL3") +depends=("granite" + "gst-plugins-base-libs" + "taglib") +makedepends=("meson" + "vala") +source=("https://github.com/alainm23/byte/archive/${pkgver}.tar.gz") +sha256sums=('a55449f7869b999517495154bdb31474e9b04c1e30ba8f8b8b0f6eef6306527c') + +build() { + cd ${pkgname}-${pkgver} + sed "/meson.add_install_script('meson\/post_install.py')/d" meson.build -i + meson build --prefix=${pkgdir}/usr + cd build + ninja +} + +package() { + cd ${pkgname}-${pkgver}/build + ninja install +} |