pkg-qmic/PKGBUILD

31 lines
657 B
Bash
Raw Permalink Normal View History

2023-12-14 15:14:38 +08:00
# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
# Maintainer: BigfootACA <bigfoot@classfun.cn>
pkgname=qmic
pkgver=1.0.r0.g4574736
2024-05-19 18:00:28 +08:00
pkgrel=2
2023-12-14 15:14:38 +08:00
pkgdesc="QMI IDL compiler"
arch=("aarch64")
2024-05-19 18:00:28 +08:00
url="https://github.com/linux-msm/qmic"
2023-12-14 15:14:38 +08:00
license=(BSD)
makedepends=(git)
depends=(glibc)
2024-05-19 18:00:28 +08:00
source=("git+https://gitea.classfun.cn:4443/mirrors/qmic.git")
2023-12-14 15:14:38 +08:00
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir/" prefix=/usr install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}