blob: d0a1ec757fe39be73903d43972d60076c165ef7d (
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
|
# Maintainer: David Bittner <bittneradave@gmail.com>
_pkgname=screens
pkgname="${_pkgname}-git"
pkgver=200718
pkgrel=4
pkgdesc="A utility for taking and managing screenshots."
arch=('any')
url="https://www.gitlab.com/DavidBittner/screens"
license=('GPL3')
depends=('gtk3' 'gtkmm3' 'libpng' 'libx11' 'curl' 'gstreamermm' 'glibmm')
makedepends=('cmake' 'pkg-config' 'git')
md5sums=("SKIP")
provides=('screens')
conflicts=('screens')
install=
changelog=
source=("${_pkgname}::git+${url}.git")
prepare() {
mkdir -p "${_pkgname}/build"
mkdir -p "${_pkgname}/install"
}
build() {
cd "${_pkgname}"
git submodule init
git submodule update
cmake .
make
}
package() {
mkdir -p "${pkgdir}/usr/share/applications"
mkdir -p "${pkgdir}/usr/bin/"
cd "${_pkgname}"
make DESTDIR="${pkgdir}" install
install assets/screens.desktop "${pkgdir}/usr/share/applications"
}
|