From 51aa0c1269520eba3584665d1e566582ad1a7344 Mon Sep 17 00:00:00 2001 From: chun-awa <110163919+chun-awa@users.noreply.github.com> Date: Sat, 21 Sep 2024 22:10:13 +0800 Subject: [PATCH] Optimize PKGBUILDs --- liblingmo/PKGBUILD | 4 ++-- lingmo-filemanager/PKGBUILD | 8 ++++---- lingmo-gtk-themes/PKGBUILD | 8 ++++---- lingmo-kwin-plugins/PKGBUILD | 8 ++++---- lingmo-launcher/PKGBUILD | 8 ++++---- lingmo-wallpapers/PKGBUILD | 8 ++++---- lingmoui/PKGBUILD | 8 ++++---- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/liblingmo/PKGBUILD b/liblingmo/PKGBUILD index 771f4b7..f48e095 100644 --- a/liblingmo/PKGBUILD +++ b/liblingmo/PKGBUILD @@ -16,12 +16,12 @@ source=("https://github.com/LingmoOS/lib_lingmo/archive/refs/tags/${pkgver}.tar. sha256sums=('be89a707f5aaae86bd4e59b0784f82414d380ce530d974d4e1fb62c42c4a4106') prepare() { - cd "$srcdir/lib_lingmo-${pkgver}" + cd "${srcdir}/lib_lingmo-${pkgver}" mkdir -p build } build() { - cd "$srcdir/lib_lingmo-${pkgver}/build" + cd "${srcdir}/lib_lingmo-${pkgver}/build" cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } diff --git a/lingmo-filemanager/PKGBUILD b/lingmo-filemanager/PKGBUILD index 95c7f79..39078ed 100644 --- a/lingmo-filemanager/PKGBUILD +++ b/lingmo-filemanager/PKGBUILD @@ -13,16 +13,16 @@ source=("https://github.com/LingmoOS/${pkgname}/archive/refs/tags/${pkgver}.tar. sha256sums=('e685f2ca83ac31b0227cf3480e925542fa026beeee057a77c375f8d89f0d8047') prepare() { - cd "$srcdir/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" mkdir -p build } build() { - cd "$srcdir/${pkgname}-${pkgver}/build" + cd "${srcdir}/${pkgname}-${pkgver}/build" cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { - cd $pkgname-$pkgver/build - make DESTDIR="$pkgdir" install + cd ${pkgname}-${pkgver}/build + make DESTDIR="${pkgdir}" install } diff --git a/lingmo-gtk-themes/PKGBUILD b/lingmo-gtk-themes/PKGBUILD index 7ff18ad..74b9ea2 100644 --- a/lingmo-gtk-themes/PKGBUILD +++ b/lingmo-gtk-themes/PKGBUILD @@ -13,16 +13,16 @@ source=("https://github.com/LingmoOS/${pkgname}/archive/refs/tags/${pkgver}.tar. sha256sums=('66b55621337316e30b708dc8284d47d2943c9e00bdde7b1b4f2704012f17583e') prepare() { - cd "$srcdir/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" mkdir -p build } build() { - cd "$srcdir/${pkgname}-${pkgver}/build" + cd "${srcdir}/${pkgname}-${pkgver}/build" cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { - cd $pkgname-$pkgver/build - make DESTDIR="$pkgdir" install + cd ${pkgname}-${pkgver}/build + make DESTDIR="${pkgdir}" install } \ No newline at end of file diff --git a/lingmo-kwin-plugins/PKGBUILD b/lingmo-kwin-plugins/PKGBUILD index 927410f..3fdb9ac 100644 --- a/lingmo-kwin-plugins/PKGBUILD +++ b/lingmo-kwin-plugins/PKGBUILD @@ -18,16 +18,16 @@ source=("https://github.com/LingmoOS/${pkgname}/archive/refs/tags/${pkgver//_/-} sha256sums=('7480345374769d6d81cd59c2443c49b18863f6c22ae454a9600a5e6b17729362') prepare() { - cd "$srcdir/${pkgname}-${pkgver//_/-}" + cd "${srcdir}/${pkgname}-${pkgver//_/-}" mkdir -p build } build() { - cd "$srcdir/${pkgname}-${pkgver//_/-}/build" + cd "${srcdir}/${pkgname}-${pkgver//_/-}/build" cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { - cd $pkgname-${pkgver//_/-}/build - make DESTDIR="$pkgdir" install + cd ${pkgname}-${pkgver//_/-}/build + make DESTDIR="${pkgdir}" install } diff --git a/lingmo-launcher/PKGBUILD b/lingmo-launcher/PKGBUILD index f64e7ed..1944f78 100644 --- a/lingmo-launcher/PKGBUILD +++ b/lingmo-launcher/PKGBUILD @@ -13,16 +13,16 @@ source=("https://github.com/LingmoOS/${pkgname}/archive/refs/tags/${pkgver}.tar. sha256sums=('eaa7cb7eb031a0f29930cb19f4251d2291a973327af9bddbbf5ff36739bc999f') prepare() { - cd "$srcdir/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" mkdir -p build } build() { - cd "$srcdir/${pkgname}-${pkgver}/build" + cd "${srcdir}/${pkgname}-${pkgver}/build" cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { - cd $pkgname-$pkgver/build - make DESTDIR="$pkgdir" install + cd ${pkgname}-${pkgver}/build + make DESTDIR="${pkgdir}" install } diff --git a/lingmo-wallpapers/PKGBUILD b/lingmo-wallpapers/PKGBUILD index ee1c902..f4b0fc5 100644 --- a/lingmo-wallpapers/PKGBUILD +++ b/lingmo-wallpapers/PKGBUILD @@ -13,17 +13,17 @@ source=("https://github.com/LingmoOS/${pkgname}/archive/refs/tags/${pkgver}.tar. sha256sums=('8d2de5f7b0de81594afb8c8d05e2a853594ff4ce909921d989c41651d93fab89') prepare() { - cd "$srcdir/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" mkdir -p build } build() { - cd "$srcdir/${pkgname}-${pkgver}/build" + cd "${srcdir}/${pkgname}-${pkgver}/build" cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { - cd $pkgname-$pkgver/build - make DESTDIR="$pkgdir" install + cd ${pkgname}-${pkgver}/build + make DESTDIR="${pkgdir}" install } diff --git a/lingmoui/PKGBUILD b/lingmoui/PKGBUILD index d2af74f..8cc74ab 100644 --- a/lingmoui/PKGBUILD +++ b/lingmoui/PKGBUILD @@ -13,16 +13,16 @@ source=("https://github.com/LingmoOS/${pkgname}/archive/refs/tags/${pkgver}.tar. sha256sums=('a706107c58c302be95698e548cff2696fc9e4491b50394c18591d288dd86f3f4') prepare() { - cd "$srcdir/LingmoUI-${pkgver}" + cd "${srcdir}/LingmoUI-${pkgver}" mkdir -p build } build() { - cd "$srcdir/LingmoUI-${pkgver}/build" + cd "${srcdir}/LingmoUI-${pkgver}/build" cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { - cd LingmoUI-$pkgver/build - make DESTDIR="$pkgdir" install + cd LingmoUI-${pkgver}/build + make DESTDIR="${pkgdir}" install }