blob: f48126f021439bfff633277291c4c4b1640ca8d4 (
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
|
# Maintainer: IroAlexis <iroalexis@outlook.fr>
_pkgname=gogextract
pkgname=${_pkgname}-git
pkgver=r96.e32f22d
pkgrel=1
pkgdesc='Unpack GOG Linux installers'
arch=('any')
url='https://framagit.org/IroAlexis/gogextract'
license=('GPL-3.0-or-later')
depends=('libzip')
makedepends=('git')
provides=("${_pkgname}")
conflicts=('gogextract')
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${_pkgname}"
make
}
package() {
install -Dm755 "${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" "${_pkgname}/README.md"
install -Dm644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" "${_pkgname}/LICENSE"
}
# vim: ts=2 sw=2 et:
|