makedeb
SurgeScript is a scripting language for games (bullseye version).
Click here to go back to the commit logs for surgescript-bullseye.
Hash: ce43ba23779afcad663ada5131d96aa6977e8fcc
Message: fix
diff --git a/.SRCINFO b/.SRCINFO
index 184fb71..8e4c85f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
pkgname = surgescript-bullseye
pkgbase = surgescript-bullseye
pkgdesc = SurgeScript is a scripting language for games (bullseye version).
-pkgrel = 0
+pkgrel = 1
pkgver = 0.5.5
url = https://github.com/alemart/surgescript
arch = i386
diff --git a/PKGBUILD b/PKGBUILD
index 8a9df4f..6696394 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: José Rebelo (AUR) <joserebelo at outlook dot com>
+_name=surgescript
pkgname=surgescript-bullseye
pkgver=0.5.5
-pkgrel=0
+pkgrel=1
pkgdesc='SurgeScript is a scripting language for games (bullseye version).'
arch=('i386' 'amd64' 'arm' 'armel' 'armhf' 'arm64')
url='https://github.com/alemart/surgescript'
@@ -15,7 +16,7 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/alemart/surgescript/archive
sha256sums=('c9f59131d5cd921a11fb1335fe93bd754f4b1eefa1ed95aaa0343a28437f3f78')
prepare() {
- cd $pkgname-$pkgver
+ cd $_name-$pkgver
# remove full path of complilation dir
sed -i 's!^# Build the library$!function(drop_compilation_paths TARGET)\nif(NOT MSVC)\ntarget_compile_options(\${TARGET} PUBLIC "-ffile-prefix-map=\${CMAKE_SOURCE_DIR}=.")\nendif()\nendfunction()\n\n# Build the library!' CMakeLists.txt
sed -i 's!set_target_properties(surgescript PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${LIB_SOVERSION})!set_target_properties(surgescript PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${LIB_SOVERSION})\ndrop_compilation_paths(surgescript)!' CMakeLists.txt
@@ -24,7 +25,7 @@ prepare() {
}
build() {
- cd $pkgname-$pkgver
+ cd $_name-$pkgver
mkdir -p build && cd build
@@ -33,7 +34,7 @@ build() {
}
package() {
- cd $pkgname-$pkgver/build
+ cd $_name-$pkgver/build
make DESTDIR="$pkgdir/" install
cd ..