mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
fixed arch build
This commit is contained in:
@@ -29,21 +29,21 @@ depends=("gjs" "gst-plugins-bad-libs")
|
||||
makedepends=("meson" "gjs")
|
||||
optdepends=("gstreamer-vaapi: Hardware acceleration")
|
||||
provides=("${pkgname%-git}")
|
||||
source=("${pkgname%-git}"::git+https://github.com/Rafostar/clapper.git)
|
||||
source=("${pkgname%-git}-$pkgver"::git+https://github.com/Rafostar/clapper.git)
|
||||
md5sums=("SKIP")
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "${pkgname%-git}-$pkgver"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "${pkgname%-git}-$pkgver"
|
||||
meson build/ --prefix=/usr
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "${pkgname%-git}-$pkgver"
|
||||
DESTDIR="$pkgdir" meson install -C build/
|
||||
ln -s "/usr/bin/com.github.rafostar.Clapper" "$pkgdir/bin/clapper"
|
||||
ln -s "$pkgdir/usr/bin/com.github.rafostar.Clapper" "$pkgdir/usr/bin/clapper"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user