summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2025-03-10 02:26:58 +0800
committertaotieren2025-03-10 02:26:58 +0800
commit3664173229e4f82cd4e96e5c51c57a951b63c140 (patch)
tree4e04cd97a48d0e059cd44fed08245621e8e6dda9
parent134fb33a6b463fd51927370a8e9d5864ca746cb3 (diff)
downloadaur-3664173229e4f82cd4e96e5c51c57a951b63c140.tar.gz
[lilac] updated to 3.2.r0.gee35169-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e3c7283f66a7..a062d9d6c252 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = notepad---git
pkgdesc = Notepad-- 是使用C++编写的轻量级文本编辑器, 简称ndd, 可以支持Window/Mac/Linux操作系统平台。
- pkgver = 2.14.r1.g335b72c
+ pkgver = 3.2.r0.gee35169
pkgrel = 1
url = https://gitee.com/cxasm/notepad--
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 9228d381f296..634bc03f10b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: taotieren <admin@taotieren.com>
pkgname=notepad---git
-pkgver=2.14.r1.g335b72c
+pkgver=3.2.r0.gee35169
pkgrel=1
pkgdesc="Notepad-- 是使用C++编写的轻量级文本编辑器, 简称ndd, 可以支持Window/Mac/Linux操作系统平台。"
-arch=('x86_64')
+arch=($CARCH)
url="https://gitee.com/cxasm/notepad--"
license=('GPL-3.0-or-later')
provides=(${pkgname%-git} notepadplugin)
@@ -29,8 +29,7 @@ pkgver() {
git describe --long --tags | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}
-prepare()
-{
+prepare() {
git -C "${srcdir}/${pkgname}" clean -dfx
}
@@ -43,7 +42,6 @@ build() {
sed -i 's/NotePad--/notepad--/g' CMakeLists.txt
sed -i '7s/NotePad--/notepad--/' src/linux/usr/share/applications/NotePad--.desktop
-
cmake -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=/usr \
-B build \