summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5e2959a913f79d3d030f73c43511bce4cb4ea75d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: alessandro (gort818) <gort818@gmail.com>

pkgname=ddgtk
pkgver=0.1.r3.g5b25b7c
pkgrel=1
pkgdesc='A fronted Gui to dd for making bootable usb disks'
arch=('i686' 'x86_64')
license=('GPL3')
url="https://github.com/gort818/${pkgname%-git}"
depends=('python3' 'python-gobject' 'gtk3' 'vte')
makedepends=('git' 'meson')
options=('!emptydirs')
source=('ddgtk::git+https://github.com/gort818/ddgtk#branch=master')
sha1sums=('SKIP')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")

pkgver() {
	cd "${pkgname%-git}"
	git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "$srcdir/${pkgname%-git}"
	meson build
	cd "$srcdir/${pkgname%-git}/build"
	ninja
}
package() {
    cd "$srcdir/${pkgname%-git}/build"
    sudo ninja install
}