blob: dc4437b200e64bb41937fd32698f4ec4360fd30a (
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
|
# Maintainer: Cassandra Watergate (saltedcoffii) <cassandrajwatergate@gmail.com>
_pkgname=gnome-shell-extension-notes
pkgname=$_pkgname-git
pkgver=r223.12bfb34
pkgrel=1
pkgdesc="A GNOME Shell extension providing customizable sticky notes on the desktop, git sources"
arch=('any')
url="https://github.com/maoschanz/notes-extension-gnome"
license=('GPL-3')
depends=('gnome-shell')
makedepends=('glib2')
source=(git+https://github.com/maoschanz/notes-extension-gnome)
sha256sums=('SKIP')
_gitsrcdir=notes-extension-gnome
pkgver() {
cd "$_gitsrcdir"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_gitsrcdir
./update-and-compile-translations.sh --all
glib-compile-schemas notes@maestroschan.fr/schemas
}
package() {
cd $_gitsrcdir
mkdir -p $pkgdir/usr/share/gnome-shell/extensions
cp --recursive --no-dereference --preserve=mode,links notes@maestroschan.fr $pkgdir/usr/share/gnome-shell/extensions
}
|