summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Semkin2018-02-06 23:32:03 +0300
committerIvan Semkin2018-02-06 23:32:03 +0300
commit1a3e4f5c4a3f463fcd1d5678798edde9bcf8566e (patch)
tree341c8fe2237d7f220bf20065c835e4d5d9c60fab
parentd3dc8e1e939c00fbdc51780e4734a981d4edc5a0 (diff)
downloadaur-dayjournal.tar.gz
Use launchpad sources
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD21
2 files changed, 18 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da52c9e0cf2..163de54f590 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dayjournal
pkgdesc = A minimalistic digital journal that lets the content you create outlast DayJournal itself
- pkgver = 23.0.8
+ pkgver = 23.0.6
pkgrel = 1
url = https://burnsoftware.wordpress.com/dayjournal/
arch = any
@@ -13,10 +13,10 @@ pkgbase = dayjournal
depends = pango
provides = dayjournal
conflicts = dayjournal
- source = https://iballwasrawt.ru/dayjournal/dayjournal_23.0.8-1_amd64.deb
+ source = https://launchpad.net/~thejambi/+archive/ubuntu/thejambi/+files/dayjournal_23.0.6.orig.tar.gz
source = https://iballwasrawt.ru/dayjournal/dayjournal.png
source = https://iballwasrawt.ru/dayjournal/dayjournal.desktop
- sha256sums = d39c27fd6d4463144807fadeaeb1c2c1328a4acc77a8c8a8fa955b62bd42eb46
+ sha256sums = 92a1f3a167a2ea038716ec8b1fc4a2920fff8185e1fd1b3b36ae020ada3d690d
sha256sums = 901d182afa6c838077cb163edb80d1e76e23f3bdd9f436797d82a7f7560ac664
sha256sums = 1c2e09afd5fc1c6b5ac4b1fd807b1827462a89d824f0c09f5689b8a81dee294a
diff --git a/PKGBUILD b/PKGBUILD
index 373d154998a..c1e0900bfff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
appname=DayJournal
pkgname=dayjournal
-pkgver=23.0.8
+pkgver=23.0.6
pkgrel=1
pkgdesc="A minimalistic digital journal that lets the content you create outlast DayJournal itself"
arch=('any')
@@ -12,21 +12,30 @@ depends=('gdk-pixbuf2' 'libgee' 'glib2' 'gtk3' 'libnotify' 'pango')
provides=('dayjournal')
conflicts=('dayjournal')
-source=("https://iballwasrawt.ru/dayjournal/dayjournal_$pkgver-1_amd64.deb"
+source=("https://launchpad.net/~thejambi/+archive/ubuntu/thejambi/+files/dayjournal_$pkgver.orig.tar.gz"
'https://iballwasrawt.ru/dayjournal/dayjournal.png'
'https://iballwasrawt.ru/dayjournal/dayjournal.desktop')
-sha256sums=('d39c27fd6d4463144807fadeaeb1c2c1328a4acc77a8c8a8fa955b62bd42eb46'
+sha256sums=('92a1f3a167a2ea038716ec8b1fc4a2920fff8185e1fd1b3b36ae020ada3d690d'
'901d182afa6c838077cb163edb80d1e76e23f3bdd9f436797d82a7f7560ac664'
'1c2e09afd5fc1c6b5ac4b1fd807b1827462a89d824f0c09f5689b8a81dee294a')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's| appindicator3-0.1||' configure
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure
+ make
+}
+
package() {
- tar -xJf data.tar.xz ./usr/bin/dayjournal
-
install -d "${pkgdir}/usr/bin"
install -d "${pkgdir}/usr/share/applications"
install -d "${pkgdir}/usr/share/icons"
- install -m755 "${srcdir}/usr/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -m755 "${srcdir}/${pkgname}-${pkgver}/src/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -m644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/icons/${pkgname}.png"
install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}