File PKGBUILD of Package dmiget

# Maintainer: Perry Werneck <perry.werneck@gmail.com>

pkgname=dmiget

pkgver=1.2.6+git20241213
pkgrel=0
pkgdesc="Get DMI information using URL format"
url="https://github.com/PerryWerneck/dmiget"
arch=(i686 x86_64)
license=(GPL)
depends=()
makedepends=(meson make python)
checkdepends=()

#groups=(gnome)

source=($pkgname-$pkgver.tar.xz)
sha256sums=('SKIP')

provides=($pkgname) 
conflicts=($pkgname)

prepare() {
  cd $pkgname-$pkgver
  meson \
    setup \
      --reconfigure \
      --wipe \
      ".build"
}

build() {
  cd $pkgname-$pkgver
  meson compile -C ".build"
}

package() {
  cd $pkgname-$pkgver
  DESTDIR="${pkgdir}" meson install -C ".build"
}
openSUSE Build Service is sponsored by