blob: 1937d98e9184fccdb0ba54b5455c5df662785847 (
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
|
# Maintainer: Arthorius <Arthcomicando@gmail.com>
pkgname=magnus
pkgver=1.0.3
pkgrel=3
pkgdesc="A very simple screen magnifier"
arch=(x86_64)
url="https://github.com/stuartlangridge/magnus/"
license=('MIT')
depends=('python3' 'python-setproctitle' 'gobject-introspection-runtime' 'gobject-introspection' 'gtk3' 'libkeybinder3' 'gdk-pixbuf2')
source=("https://github.com/stuartlangridge/magnus/archive/${pkgver}.tar.gz")
md5sums=('53249667de050d930dcde097ff9ee937')
build() {
tar -xf "${pkgver}.tar.gz" || 1
}
package() {
cd "${pkgname}-${pkgver}"
install -D -m 0755 "magnus" "${pkgdir}/opt/${pkgname}/magnus"
install -D -m 0744 -Dt "${pkgdir}/usr/share/man/man1" "data/${pkgname}.1"
install -D -m 0644 "data/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -D -m 0744 "data/logo.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -D -m 0644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Linking sym on /usr/bin
mkdir -p "${pkgdir}/usr/bin"
ln -sf "/opt/${pkgname}/magnus" "${pkgdir}/usr/bin/${pkgname}"
}
|