summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2016-12-07 22:31:11 +0100
committerMichael Straube2016-12-07 22:31:11 +0100
commit10bd50e6a0b9984467141d5edc46061c7e765814 (patch)
tree60eb5bc1abc99f210f215bce3a6dc32b1d8af32b
parent633653946a1650d49b9e952aed2c1d094af47573 (diff)
downloadaur-10bd50e6a0b9984467141d5edc46061c7e765814.tar.gz
Use https, sha256sums and make install
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0ad4adeb526c..cd7fc6e24372 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = bs
pkgdesc = The classic game of Battleships against the computer. Ncurses.
pkgver = 2.10
- pkgrel = 1
- url = http://www.catb.org/~esr/bs/
+ pkgrel = 2
+ url = https://www.catb.org/~esr/bs/
arch = i686
arch = x86_64
license = GPL2
depends = ncurses
+ depends = hicolor-icon-theme
source = http://www.catb.org/~esr/bs/bs-2.10.tar.gz
- sha1sums = 63179f97929c6cb9b6598440798e4ebd82069d4a
+ sha256sums = 1f8c1541fd13f481ff96df26d668658a7465da064801ae22ee584bd50f3a3107
pkgname = bs
diff --git a/PKGBUILD b/PKGBUILD
index 90fa7c68268a..34aa2bfe2ba7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,14 +5,14 @@
pkgname=bs
pkgver=2.10
-pkgrel=1
+pkgrel=2
pkgdesc="The classic game of Battleships against the computer. Ncurses."
arch=('i686' 'x86_64')
-url="http://www.catb.org/~esr/bs/"
+url="https://www.catb.org/~esr/bs/"
license=('GPL2')
-depends=('ncurses')
+depends=('ncurses' 'hicolor-icon-theme')
source=("http://www.catb.org/~esr/bs/bs-$pkgver.tar.gz")
-sha1sums=('63179f97929c6cb9b6598440798e4ebd82069d4a')
+sha256sums=('1f8c1541fd13f481ff96df26d668658a7465da064801ae22ee584bd50f3a3107')
build() {
cd $pkgname-$pkgver
@@ -23,6 +23,5 @@ build() {
package() {
cd $pkgname-$pkgver
- install -Dm755 bs "$pkgdir"/usr/bin/bs
- install -Dm644 bs.6 "$pkgdir"/usr/share/man/man6/bs.6
+ make DESTDIR="$pkgdir" install
}