makedeb


aseprite 1.3.7-1


Create animated sprites and pixel art

Click here to go back to the commit logs for aseprite.

Commit:


Hash: 8ce90d634986287c7185ad91f79192dec7f3e7a4

Message: patch version generation

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 47b0a7a..740830a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = aseprite
 pkgbase = aseprite
 pkgdesc = Create animated sprites and pixel art
-pkgrel = 1
+pkgrel = 2
 pkgver = 1.3.6
 url = https://www.aseprite.org
 arch = amd64
diff --git a/PKGBUILD b/PKGBUILD
index 13a1769..82b6d44 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=aseprite
 pkgver=1.3.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Create animated sprites and pixel art'
 arch=('amd64')
 url='https://www.aseprite.org'
@@ -19,6 +19,9 @@ sha256sums=('5e974aa2786297981cd5ebe81f040a49b722bddfe33d70def207ad06cb0d34fc' '
 prepare() {
 	mkdir -p "$srcdir/Aseprite-v$pkgver-Source"
 	bsdtar -xf "Aseprite-v$pkgver-Source.zip" -C "$srcdir/Aseprite-v$pkgver-Source"
+	
+	# Remove -dev from version (eg. 1.3.6-dev -> 1.3.6)
+	sed -i 's/-dev//' "$srcdir/Aseprite-v$pkgver-Source/src/ver/CMakeLists.txt"
 }
 
 build() {