Date: Thursday, February 28, 2019 @ 23:46:34 Author: polyzen Revision: 437153
Simplify Modified: vivid/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-02-28 23:13:58 UTC (rev 437152) +++ PKGBUILD 2019-02-28 23:46:34 UTC (rev 437153) @@ -9,20 +9,20 @@ license=('Apache' 'MIT') depends=('gcc-libs') makedepends=('rust') -source=("$url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") +source=("$url/archive/v$pkgver/vivid-v$pkgver.tar.gz") sha512sums=('debef0a9a46b4afee3bee96fa3f877525d0208395adbe5ac70ba37da81037243839f2dd180749cf4e2c1c1824ebe76d4edab5b1e80aa8cf99339bdd7552b1a77') build() { - cd $pkgname-$pkgver + cd vivid-$pkgver cargo build --release --locked } package() { - cd $pkgname-$pkgver + cd vivid-$pkgver install -Dt "$pkgdir"/usr/bin target/release/vivid - install -Dm644 -t "$pkgdir"/usr/share/$pkgname config/* - install -Dm644 -t "$pkgdir"/usr/share/$pkgname/themes themes/* - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT + install -Dm644 -t "$pkgdir"/usr/share/vivid config/filetypes.yml + install -Dm644 -t "$pkgdir"/usr/share/vivid/themes themes/* + install -Dm644 -t "$pkgdir"/usr/share/licenses/vivid LICENSE-MIT } # vim:set ts=2 sw=2 et: