Skip to content

Commit

Permalink
Optimize PKGBUILDs
Browse files Browse the repository at this point in the history
  • Loading branch information
chun-awa committed Sep 21, 2024
1 parent cbe72c4 commit 51aa0c1
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions liblingmo/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
8 changes: 4 additions & 4 deletions lingmo-filemanager/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
8 changes: 4 additions & 4 deletions lingmo-gtk-themes/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
8 changes: 4 additions & 4 deletions lingmo-kwin-plugins/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
8 changes: 4 additions & 4 deletions lingmo-launcher/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
8 changes: 4 additions & 4 deletions lingmo-wallpapers/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

8 changes: 4 additions & 4 deletions lingmoui/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 51aa0c1

Please sign in to comment.