summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss2018-12-15 17:32:18 +0100
committerLuca Weiss2018-12-15 17:32:18 +0100
commit71440625adeefe2d9ea917268bb6181786c9757d (patch)
tree8c0f67a62a305c3c50dcb57c448d4ee6e20a7a58
parent571a929e30c58d08ca4e284b53981126e651899a (diff)
downloadaur-kde1-kdebase.tar.gz
upgpkg: kde1-kdebase 1.1.2-5
stylistic changes
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD21
2 files changed, 10 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index df783ac643b..12eb796de42 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,10 +13,8 @@ pkgbase = kde1-kdebase
depends = libjpeg
depends = libtiff
depends = perl
- source = https://github.com/KDE/kde1-kdebase/archive/444ba45c273384ddbb4257027bdd60ec09fda13e.tar.gz
- source = 0001-kcmikbd-also-needs-the-moc-files.patch
- sha256sums = ff402fb14d1befb606c98a28a1bfe710a290dcf5ffa89849b61607eefc8ef4bf
- sha256sums = dbb7fa69167c6f8f175793ae0be445450a89a941562a641f462ae518b89135a8
+ source = https://github.com/KDE/kde1-kdebase/archive/a40a9a0de966d1831688bb9371a3c165b825bc7e.tar.gz
+ sha256sums = a368f1294edafcae10a78fb5c0694dbcd38ae65379813bac67c2afda66390e6a
pkgname = kde1-kdebase
diff --git a/PKGBUILD b/PKGBUILD
index d4404c59def..fe87a3f3acf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,29 +10,24 @@ license=("GPL2")
groups=("kde1")
depends=("qt1" "kde1-kdelibs" "libjpeg" "libtiff" "perl")
makedepends=("cmake")
-_commit="444ba45c273384ddbb4257027bdd60ec09fda13e"
-source=("https://github.com/KDE/$pkgname/archive/$_commit.tar.gz" 0001-kcmikbd-also-needs-the-moc-files.patch)
-sha256sums=('ff402fb14d1befb606c98a28a1bfe710a290dcf5ffa89849b61607eefc8ef4bf'
- 'dbb7fa69167c6f8f175793ae0be445450a89a941562a641f462ae518b89135a8')
+_commit="a40a9a0de966d1831688bb9371a3c165b825bc7e"
+source=("https://github.com/KDE/$pkgname/archive/$_commit.tar.gz")
+sha256sums=('a368f1294edafcae10a78fb5c0694dbcd38ae65379813bac67c2afda66390e6a')
prepare() {
- cd $srcdir/$pkgname-$_commit
- patch -Np1 < $srcdir/0001-kcmikbd-also-needs-the-moc-files.patch
+ mkdir -p build
}
build() {
- cd $srcdir/$pkgname-$_commit
- mkdir -p build
cd build
- cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_LIBRARY_PATH='/opt/kde1/lib'
+ cmake ../$pkgname-$_commit -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_LIBRARY_PATH='/opt/kde1/lib'
make
}
package() {
- cd $srcdir/$pkgname-$_commit
- cd build
- make DESTDIR="$pkgdir/" install
- cd ..
+ make -C build DESTDIR="$pkgdir/" install
+
+ cd $pkgname-$_commit
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}