summaryrefslogtreecommitdiff
path: root/repo/system/libgudev.xibuild
blob: 7ed1eabcbfb298c9f995245c210b24dc6d8fe8ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

MAKEDEPS=(meson)
DEPS=(glib2 libudev)

PKG_VER=237
SOURCE=https://download.gnome.org/sources/libgudev/$PKG_VER/libgudev-$PKG_VER.tar.xz
DESC="GObject bindings for libudev"

build () {
    mkdir build &&
    cd    build &&

    meson --prefix=/usr --buildtype=release .. &&
    ninja

}

package () {
    DESTDIR=$PKG_DEST ninja install
}