diff options
author | Skykey | 2020-07-01 19:17:27 +0800 |
---|---|---|
committer | Skykey | 2020-07-01 19:17:27 +0800 |
commit | d9861bf2e660b7bc75adb80d60e9200c08504f5b (patch) | |
tree | 74c8a8d08532d2ac357c6c8c2c4d0d5d663afdc0 | |
parent | 258613d34e0d17bf585cb6859cc59ee0160800b0 (diff) | |
download | aur-d9861bf2e660b7bc75adb80d60e9200c08504f5b.tar.gz |
update 2.2.0 and build from source
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 19 insertions, 18 deletions
@@ -1,17 +1,16 @@ pkgbase = pkgbuild-assistant - pkgdesc = A PKGBUILD Assistant written in Qt5. - pkgver = 2.1.0 + pkgdesc = An auxiliary tool for writing PKGBUILD files + pkgver = 2.2.0 pkgrel = 1 url = https://github.com/skykeyjoker/PKGBUILD-Assistant arch = x86_64 depends = qt5-base depends = harfbuzz - depends = graphite depends = tree depends = pacman-contrib provides = pkgbuild-assistant - source = https://github.com/skykeyjoker/PKGBUILD-Assistant/releases/download/2.1.0/PKGBUILD-Assistant.tar.gz - sha512sums = 3914477ce9044aa3337fd3a5c18481efac72c8adf25359e67fc7b86981d6ca9595a3a59fdd5925d4dd82091234d576d8d2db9865f222f2fb61f7121259d9a27a + source = pkgbuild-assistant-2.2.0.tar.gz::https://github.com/skykeyjoker/PKGBUILD-Assistant/archive/2.2.0.tar.gz + sha512sums = da349cc4df7f45d5159fcbf72628c573aba6098f8a7d0a504bb492cbbdae36f1d1c3cd99c5a51cabe0926310f79dcb431047a48453be413b3395d9969fcded13 pkgname = pkgbuild-assistant @@ -1,26 +1,28 @@ #Maintainer: Skykey <zcxzxlc@163.com> pkgname=('pkgbuild-assistant') -pkgver=2.1.0 +pkgver=2.2.0 pkgrel=1 -pkgdesc="A PKGBUILD Assistant written in Qt5." +pkgdesc="An auxiliary tool for writing PKGBUILD files" provides=("pkgbuild-assistant") url='https://github.com/skykeyjoker/PKGBUILD-Assistant' arch=('x86_64') -depends=('qt5-base' 'harfbuzz' 'graphite' 'tree' 'pacman-contrib') -source=("https://github.com/skykeyjoker/PKGBUILD-Assistant/releases/download/2.1.0/PKGBUILD-Assistant.tar.gz" +depends=('qt5-base' 'harfbuzz' 'tree' 'pacman-contrib') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" ) -sha512sums=('3914477ce9044aa3337fd3a5c18481efac72c8adf25359e67fc7b86981d6ca9595a3a59fdd5925d4dd82091234d576d8d2db9865f222f2fb61f7121259d9a27a' +sha512sums=('da349cc4df7f45d5159fcbf72628c573aba6098f8a7d0a504bb492cbbdae36f1d1c3cd99c5a51cabe0926310f79dcb431047a48453be413b3395d9969fcded13' ) +build(){ + cd "PKGBUILD-Assistant-$pkgver" + qmake + make +} + package(){ - install -Dm755 "${srcdir}"/PKGBUILD-Assistant/opt/PKGBUILD-Assistant/PKGBUILD-Assistant "${pkgdir}"/opt/PKGBUILD-Assistant/PKGBUILD-Assistant - install -Dm644 "${srcdir}"/PKGBUILD-Assistant/usr/lib/PKGBUILD-Assistant/libstdc++.so.6 "${pkgdir}"/usr/lib/PKGBUILD-Assistant/libstdc++.so.6 - mkdir -p "${pkgdir}"/usr/share/applications - install -Dm644 "${srcdir}"/PKGBUILD-Assistant/usr/share/applications/* "${pkgdir}"/usr/share/applications - mkdir -p "${pkgdir}"/usr/share/pixmaps - install -Dm644 "${srcdir}"/PKGBUILD-Assistant/usr/share/pixmaps/* "${pkgdir}"/usr/share/pixmaps - - + cd "PKGBUILD-Assistant-$pkgver" + install -Dm755 PKGBUILD_ASSISTANT "$pkgdir/usr/bin/$pkgname" + install -Dm644 ico.png "$pkgdir/usr/share/pixmaps/$pkgname.png" + install -Dm644 "$pkgname.desktop" -t "$pkgdir/usr/share/applications" } |