summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91376322987a143e199a83ffc749929e1584c926 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Maintainer: Michael Kuc <michaelkuc6 at gmail dot com>
# Contributor: Fabian Niepelt <Takios at github dot com>

_pkgname="download-with-kget"
pkgname="${_pkgname}-native-git"
pkgver=v0.2.r1.g21c7b6a
pkgrel=1
epoch=
pkgdesc="KGet extension native handler"
arch=('x86_64')
url="https://github.com/Takios/download-with-kget"
license=('MPL2')
groups=()
depends=(
	'git'
	'python-pydbus'
)
makedepends=()
checkdepends=()
optdepends=()
provides=("${_pkgname}")
conflicts=()
replaces=()
backup=()
options=()
changelog=
source=("git+https://github.com/Takios/download-with-kget"
	"Makefile.patch"
)
noextract=()
sha256sums=("SKIP"
			"af886b2595d917054933f8936f2c83f236ee4c56e4994eb5778cc9c51ccc7c05"
)

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

prepare() {
	patch "${_pkgname}/src/native/Makefile" Makefile.patch
}

build() {
	:
}

check() {
	:
}

package() {
	cd "${_pkgname}/src/native"
	make DESTDIR="${pkgdir}/" install
}