blob: 58f44e1c21d133214b67464632e3f2a47eca23d7 (
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
|
# Maintainer: Aditya Mishra <https://github.com/pegvin/csprite/issues>
pkgname=csprite-git
pkgver=continuous.r40.gf065ce8
pkgrel=1 # Update if you changed something but that is so minor change you don't want to change the version
pkgdesc="a tiny pixel art editor"
arch=('i686' 'x86_64')
url="https://github.com/pegvin/csprite"
license=('GPL3')
depends=(glfw gtk3)
makedepends=(git make scons pkg-config python-pillow python-numpy)
optdepends=()
provides=('csprite-git')
conflicts=('csprite' 'csprite-git' 'csprite-bin')
source=(git+https://github.com/pegvin/csprite.git)
sha512sums=(SKIP)
pkgver() {
cd csprite
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd csprite
make generate release
}
package() {
cd csprite
install -Dm644 data/csprite.desktop "$pkgdir/usr/share/applications/csprite.desktop"
install -Dm644 data/icon-512.png "$pkgdir/usr/share/icons/csprite.png"
install -Dm755 csprite "$pkgdir/usr/bin/csprite"
}
|